2011/3/19 Sébastien Vauban <wxhgmqzgw...@spammotel.com>:
>> My solution, by the way, is to insert the #+end_src line immediately upon
>> writing a #+begin_src line and then back up a line to start writing the
>> code.
>
> "My" solution is even simpler: just use a yasnippet template, that prompts you
> for the language and puts the begin/end upfront:

Or use org's own template mechanism[fn:1],

1. <s - for source blocks
2. <e - for example blocks

and so on ...

Footnotes:

[fn:1] [[info:org#Easy%20Templates][info:org#Easy Templates]]
-- 
Suvayu

Open source is the future. It sets us free.

Reply via email to