From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [ANN] BREAKING CHANGE -- removing #+BABEL file-wide property lines Date: Tue, 25 Oct 2011 08:13:49 -0600 Message-ID: <878vo93v5i.fsf@gmail.com> References: <87pqhrih3s.fsf@gmail.com> <30891.1319141196@alphaville.dokosmarshall.org> <87fwinifqu.fsf@gmail.com> <32184.1319143892@alphaville.dokosmarshall.org> <87zkgvgxe7.fsf@gmail.com> <1405.1319147324@alphaville.dokosmarshall.org> <87zkgvfhra.fsf@gmail.com> <2127.1319148505@alphaville.dokosmarshall.org> <87vcrjfgt1.fsf@gmail.com> <80sjmmvm60.fsf@somewhere.org> <4EA129DB.4070006@christianmoe.com> <8762ji5jr6.fsf@gmail.com> <87fwil10o2.fsf@gmail.com> <80pqhltnvc.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIjer-0004mC-4N for emacs-orgmode@gnu.org; Tue, 25 Oct 2011 12:15:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIjek-0003pP-MT for emacs-orgmode@gnu.org; Tue, 25 Oct 2011 12:15:21 -0400 Received: from mail-qw0-f41.google.com ([209.85.216.41]:35204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIjek-0003pA-JQ for emacs-orgmode@gnu.org; Tue, 25 Oct 2011 12:15:14 -0400 Received: by qadc11 with SMTP id c11so755777qad.0 for ; Tue, 25 Oct 2011 09:15:13 -0700 (PDT) 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: Sebastien Vauban Cc: emacs-orgmode@gnu.org > I think that makes sense. > > While thinking about all of this, and working in real-life documents, I just > came back to a suggestion which I made some time ago. It goes about this > enhancement: > > Would it be possible to specify "buffer-wide language specific" header > arguments? > Yes, this is already possible. You can customize the org-babel-default-header-args:lang variable (where "lang" is the source name) as a file local variable. > > That is, be able to say: > > "In this document, I want to: > - tangle all my .sql chunks, but no other; > - eval all the elisp chunks with query, but no other." > > Something we could write quite easily along the lines: > > #+PROPERTY: tangle no > #+PROPERTY: eval never > #+PROPERTY[SQL]: tangle yes > #+PROPERTY[EMACS-LISP]: eval query > > (the syntax used here is just a draft sample!) > I do not think we can customize the PROPERTY syntax as is exists outside of Babel. The goal here was to piggy-back on top of rather than co-opt regular Org-mode syntax. Best -- Eric > > What do you think about this feature? If you feel it can be something > interesting to have, this is surely to incorporate in the current syntax > debate. If not... never mind. > > Best regards, > Seb -- Eric Schulte http://cs.unm.edu/~eschulte/