From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: :session question Date: Sun, 28 Apr 2013 17:46:35 +0200 Message-ID: <87k3nmd5es.fsf@Rainer.invalid> References: <51501AF2.1070405@easy-emacs.de> <8738vjugwd.fsf@gmail.com> <51516699.6090604@gmail.com> <87ip4ezf93.fsf@med.uni-goettingen.de> <87fvzi72ve.fsf@gmail.com> <87ip4e5gai.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:32794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWToP-00060Z-Kj for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 11:46:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UWToO-0001es-Kd for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 11:46:49 -0400 Received: from plane.gmane.org ([80.91.229.3]:33873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWToO-0001en-Dg for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 11:46:48 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UWToI-0005Fc-2K for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 17:46:42 +0200 Received: from pd9eb04fb.dip0.t-ipconnect.de ([217.235.4.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Apr 2013 17:46:42 +0200 Received: from Stromeko by pd9eb04fb.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Apr 2013 17:46:42 +0200 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: emacs-orgmode@gnu.org Eric Schulte writes: > If you mean that there should be new syntax for setting header arguments > on a file or sub-tree basis w/o using file local variables, I'd be happy > to apply a patch. I'm thinking that something like #+PROPERTY: header-args:R :session "*R*" :exports none should work. I've checked that the property interface returns the data as expected, but I haven't implemented anything yet. It does not seem to be an overly difficult endeavour, however. >> But importantly, there should be no way to set a default session name >> without also specifying the language, regardless of which way one >> tries to set this up. > > If you can think of a clean way to implement this then we should go for > it. I doubt many existing configurations rely on this behavior. General settings for all languages should be effected by #+PROPERTY: header-args :results value :exports none and there'd be a list of header arguments (or specific values) that are either ignored or warned about when not associated with a particular language. BTW, I think the current property syntax for header arguments should be deprecated since it is the only place where the leading ":" is missing for those. Comments, thoughts? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds