emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] default headers for source code blocks


From: Ista Zahn
Subject: Re: [O] default headers for source code blocks
Date: Tue, 9 Sep 2014 13:44:47 -0400

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
<address@hidden> 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:  address@hidden
>
>
>
>
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]