From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: default headers for source code blocks Date: Tue, 9 Sep 2014 13:44:47 -0400 Message-ID: References: <6583026da8c34bcf9acce84acadc801a@fbmailsvr1.familycareinc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRPTa-00019W-5l for emacs-orgmode@gnu.org; Tue, 09 Sep 2014 13:45:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRPTY-0002iM-Pa for emacs-orgmode@gnu.org; Tue, 09 Sep 2014 13:45:10 -0400 Received: from mail-ob0-x234.google.com ([2607:f8b0:4003:c01::234]:62403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRPTY-0002hV-LW for emacs-orgmode@gnu.org; Tue, 09 Sep 2014 13:45:08 -0400 Received: by mail-ob0-f180.google.com with SMTP id m8so12208325obr.39 for ; Tue, 09 Sep 2014 10:45:07 -0700 (PDT) In-Reply-To: <6583026da8c34bcf9acce84acadc801a@fbmailsvr1.familycareinc.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Subhan Michael Tindall Cc: "emacs-orgmode@gnu.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 wrote: > My apologies if this is in TFM, but I can=E2=80=99t seem to find it after > substantial digging. > > I=E2=80=99m using a lot of source code blocks lately. > > What I=E2=80=99d like is a way to specify a set of default headers to ins= ert 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 =E2=80=93 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 o= r > 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.