1 Jul 2011 12:48
Re: Code contribution or suggestion
Keith Ponting <k.ponting <at> aurix.com>
2011-07-01 10:48:30 GMT
2011-07-01 10:48:30 GMT
Another alternative that I use for my Sweave sources is template http://emacs-template.sourceforge.net - setup TEMPLATE.rnw as you like it (optionally including useful substitutions like author name, date,...) and then every time you open a new .rnw file you will be asked whether you want to use that template. BTW I also use and like yasnippet, but I think the template.el approach would be less typing/mousing per document. Keith Ponting Aurix Ltd, Malvern WR14 3SZ UK > From: Steve Lianoglou <mailinglist.honeypot <at> gmail.com> > > Hi Jim, > > Unless I'm missing something, an alternative way to achieve your > templatings stuffs that you've got here is to use yasnippet: > http://code.google.com/p/yasnippet/ > > You can setup templates rather easily for various languages (not just > sweave), and making new templates are pretty easy (no elisp required >(Continue reading)> > Here's a video of it in action: > http://www.youtube.com/watch?v=76Ygeg9miao > > The first ~ minute is how to install it, which you can skip if you're in > a hurry and just want to check it out.
>
> Here's a video of it in action:
>
RSS Feed