emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] :session question -- and changes to #+Property: syntax


From: Achim Gratz
Subject: Re: [O] :session question -- and changes to #+Property: syntax
Date: Sun, 23 Jun 2013 19:50:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]