suvayu ali <fatkasuvayu+li...@gmail.com> writes: > 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]]
Thanks for this! I am always forgetting about these and they do work well. For some reason, I always find it difficult to find them in the info manual. I guess it's because I don't think of them as templates and always search for "short-cut" and "abbreviation" in the table of contents for the org manual and neither is useful. Could I suggest that maybe the heading for this section be something like "Short-cut keys for easy templates"? Or something similar? Thanks, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.83.g1bd87.dirty)