Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Moving one char backward when expanding the snippet
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dror Atariah  
View profile  
 More options Jul 13 2012, 2:49 am
From: Dror Atariah <dror...@gmail.com>
Date: Thu, 12 Jul 2012 23:49:36 -0700 (PDT)
Local: Fri, Jul 13 2012 2:49 am
Subject: Re: Moving one char backward when expanding the snippet

Good morning,

> But I have analysed this a bit more and remembered that yasnippet
> *can* already solve your problem if you write your snippet as a
> snippet-command. Try this

> # -*- mode: snippet -*-
> # name: latex footnote
> # key: foot
> # type: command
> # --
> (skip-syntax-backward " ")
> (yas/expand-snippet "\\footnote{${1:the footnote test}}")

This doesn't work - it just expands to the plain text in the code above and
seems like it doesn't evaluate the lisp code.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.