Re: [O] Source blocks for tiny snippets

2011-10-24 Thread Eric Schulte
Nick Dokos writes: > Thorsten wrote: > >> ... >> There is, e.g., the shortcut >> >> ,--- >> | > `--- >> >> to insert a code-block, but its somehow underdocumented - I don't >> remember, where I read about it, and don't find it in the manual >> anymore. >> > > It is documented in sec

Re: [O] Source blocks for tiny snippets

2011-10-24 Thread Thorsten
Nick Dokos writes: > It is documented in sec. 15.2, "Easy Templates", of > the org manual (along with how to add your own): > > (info "(org) Easy Templates") Thanks, I think I should take the dynamics of org-mode more into account - my not so old hard-copy of the manual is already out of date, a

Re: [O] Source blocks for tiny snippets

2011-10-24 Thread Nick Dokos
Thorsten wrote: > ... > There is, e.g., the shortcut > > ,--- > | `--- > > to insert a code-block, but its somehow underdocumented - I don't > remember, where I read about it, and don't find it in the manual > anymore. > It is documented in sec. 15.2, "Easy Templates", of the org m

Re: [O] Source blocks for tiny snippets

2011-10-24 Thread Thorsten
Hi Eric, Eric Schulte writes: > That combined with a helper for specifying > code blocks (I use yasnippets for this) should serve. I would like to suggest adding the keybindings and shortcuts for specifying code blocks to chapter 14.11 "Key bindings and useful functions" in the manual. I'm sti

Re: [O] Source blocks for tiny snippets

2011-10-24 Thread suvayu ali
Hi Eric, On Sat, Oct 22, 2011 at 18:08, Eric Schulte wrote: > suvayu ali writes: > >> Hi everyone, >> >> I was wondering what people do when they need to put a few (1 or 2) >> lines of code snippets in org files? I like the syntax highlighting one >> gets in an org buffer and in HTML export with

Re: [O] Source blocks for tiny snippets

2011-10-22 Thread Eric Schulte
suvayu ali writes: > Hi everyone, > > I was wondering what people do when they need to put a few (1 or 2) > lines of code snippets in org files? I like the syntax highlighting one > gets in an org buffer and in HTML export with code blocks. Is there some > work around other than have code blocks

[O] Source blocks for tiny snippets

2011-10-21 Thread suvayu ali
Hi everyone, I was wondering what people do when they need to put a few (1 or 2) lines of code snippets in org files? I like the syntax highlighting one gets in an org buffer and in HTML export with code blocks. Is there some work around other than have code blocks for every line I want to include