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 <sql TAB. 

Please excuse brevity. Sent from pocket computer with tiny non-haptic feedback keyboard. 

On Sep 9, 2014, at 13:24, Subhan Michael Tindall <SubhanT@familycareinc.org> wrote:

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 want is this:

C-c C-v d sql RET

#+begin_src sql  :exports code :tangle yes :comments noweb

#+end_src

 

Is there a configuration variable I can set for this?  All I can find is refs to see source language documentation, but nothing that actually indicates if/how to manage it.

 

Thanks,

 

 

Subhan Michael Tindall

Program Analyst – FamilyCare Health Plans

825 NE Multnomah St, Suite 1400; Portland OR 97232

Direct: 503-471-3127

Fax:      503-471-3177

Email:  subhant@familycareinc.org

<image001.jpg>

 


This message is intended for the sole use of the individual and entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message.  Thank you.