Re: [O] default headers for source code blocks

2014-09-10 Thread Sebastien Vauban
Ken Mankoff wrote: > What about custom template expansions? > > http://nicholasvanhorn.com/2014/04/07/org-structure-completion/ > > Advantage: your C-c C-v d sql RET becomes only ", for example -- even shorter, of one key stroke, than the easy template ;-)). Best regards, Seb -- Sebastien Vaub

Re: [O] default headers for source code blocks

2014-09-09 Thread Ken Mankoff
What about custom template expansions? http://nicholasvanhorn.com/2014/04/07/org-structure-completion/ Advantage: your C-c C-v d sql RET becomes only On Sep 9, 2014, at 13:24, Subhan Michael Tindall > wrote: > > My apologies if this is in TFM, but I can’t seem to find it after substantial >

Re: [O] default headers for source code blocks

2014-09-09 Thread Thorsten Jolitz
Subhan Michael Tindall writes: > My apologies if this is in TFM, but I can’t seem to find it after > substantial digging. > > I’m using a lot of source code blocks lately. > > What I’d like is a way to specify a set of default headers to insert > when a new block is created. I have written an 'a

Re: [O] default headers for source code blocks

2014-09-09 Thread Ista Zahn
Hi Subhan, I think the idea is that you should not set his on each individual block, but set global values. For example #+PROPERTY: header-args:sql :exports code :tangle yes :comments noweb Best, Ista On Tue, Sep 9, 2014 at 1:24 PM, Subhan Michael Tindall wrote: > My apologies if this is in T

[O] default headers for source code blocks

2014-09-09 Thread Subhan Michael Tindall
My apologies if this is in TFM, but I can't seem to find it after substantial digging. I'm using a lot of source code blocks lately. What I'd like is a way to specify a set of default headers to insert when a new block is created. Right now: C-c C-v d sql RET #+begin_src sql #+end_src What I wan