emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [Babel] Macro for begin_src?


From: Štěpán Němec
Subject: [Orgmode] Re: [Babel] Macro for begin_src?
Date: Sun, 18 Apr 2010 22:13:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

Dan Davison <address@hidden> writes:
> I guess, for Nate's original application (converting existing code to
> src blocks), what might have been most useful is something to enclose a
> given region in a source block. Can anyone show how to do that with
> yasnippet (or anything else)?

I don't have a ready-to-use snippet, but this is what you need:

http://yasnippet.googlecode.com/svn/trunk/doc/snippet-development.html#yas-wrap-around-region


HTH,

  Štěpán




reply via email to

[Prev in Thread] Current Thread [Next in Thread]