From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: :session question -- and changes to #+Property: syntax Date: Sun, 23 Jun 2013 19:50:47 +0200 Message-ID: <87obawhg20.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> <87k3nmd5es.fsf@Rainer.invalid> <87sj264o0f.fsf@gmail.com> <87k3n8gf47.fsf@Rainer.invalid> <878v2l7v7s.fsf@Rainer.invalid> <87txl9u4c4.fsf_-_@gmail.com> <87d2rjcfsv.fsf@Rainer.invalid> <87ehbwsq5v.fsf@gmail.com> <874ncsad3p.fsf@Rainer.invalid> <87a9mkskfa.fsf@gmail.com> <87vc588uha.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UqoRL-0004nG-Rf for emacs-orgmode@gnu.org; Sun, 23 Jun 2013 13:51:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UqoRK-0007oi-NN for emacs-orgmode@gnu.org; Sun, 23 Jun 2013 13:51:03 -0400 Received: from plane.gmane.org ([80.91.229.3]:50078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UqoRK-0007oa-HB for emacs-orgmode@gnu.org; Sun, 23 Jun 2013 13:51:02 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UqoRH-0005G8-4d for emacs-orgmode@gnu.org; Sun, 23 Jun 2013 19:50:59 +0200 Received: from pd9eb43aa.dip0.t-ipconnect.de ([217.235.67.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Jun 2013 19:50:59 +0200 Received: from Stromeko by pd9eb43aa.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Jun 2013 19:50:59 +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 Achim Gratz writes: > Eric Schulte writes: >> Oh, I understand now. I would also be happy with using *no* header >> arguments for this ephemeral elisp block if that is easily accomplished. > > I'll make a patch for testing this. I'll have to think about his some more. The info block produced from the header arguments is used in two places and there's another not-quite-exact copy of this in ob-exp that would need attention at the same time. >> Hopefully the simpler solution which uses the existing value of >> `org-babel-current-src-block-location' will prove sufficient (once >> someone implements it that is...). > > I'll implement it and see if this seems more useful than the current > behaviour. If it is, then we'll have to decide if that new behaviour > replaces the old one or yet another header argument or option switches > between old and new. I guess it could be arranged so that the old-style > properties kept the old behaviour and the new-style properties followed > the new… I've pushed this to master, with documentation and testing. Old style property-based header arguments keep the old behaviour of looking up the properties at the point of source block definition for backwards compatibility and are now deprecated. The new header-args[:lang] properties use the location of the call as recorded in `org-babel-current-src-block-location'. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds