emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ista Zahn <istazahn@gmail.com>
To: Subhan Michael Tindall <SubhanT@familycareinc.org>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: default headers for source code blocks
Date: Tue, 9 Sep 2014 13:44:47 -0400	[thread overview]
Message-ID: <CA+vqiLEwJqgUUiP0uZyJu+0QCA9tpE4wvBCv9t2hiG38Z8z3TQ@mail.gmail.com> (raw)
In-Reply-To: <6583026da8c34bcf9acce84acadc801a@fbmailsvr1.familycareinc.org>

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
<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
>
>
>
>
> 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	other threads:[~2014-09-09 17:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-09 17:24 default headers for source code blocks Subhan Michael Tindall
2014-09-09 17:44 ` Ista Zahn [this message]
2014-09-09 19:11 ` Thorsten Jolitz
2014-09-10  4:24 ` Ken Mankoff
2014-09-10  7:31   ` Sebastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+vqiLEwJqgUUiP0uZyJu+0QCA9tpE4wvBCv9t2hiG38Z8z3TQ@mail.gmail.com \
    --to=istazahn@gmail.com \
    --cc=SubhanT@familycareinc.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).