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: Michael Brand
Subject: Re: [O] :session question -- and changes to #+Property: syntax
Date: Wed, 19 Jun 2013 12:10:01 +0200

Hi Achim

On Tue, Jun 18, 2013 at 10:41 PM, Achim Gratz <address@hidden> wrote:
> Hi Eric,
>
> while starting to write up a test document I've found some behaviour
> when executing LOB calls that warrant discussion, I think:
>
> 1. The properties are evaluated at the site of the definition rather
> than the site of the call.  This is simply how org-babel-process-params
> works, it jumps to the definition and then executes the source block
> there (this may be in another file even).
>
> 2. The evaluation of header arguments assumes emacs-lisp as a language.

I guess you do not mean the language of the source block, else see
below for an example with shell.

>
>
> These two combined make it somewhat difficult to use properties to
> control the behaviour of LOB calls and understand what is happening and
> why.  A workaround is to beam the source to the place of call via noweb
> syntax.  The first point could perhaps be addressed in a cleaner way by
> using org-babel-current-src-block-location when calling org-entry-get,
> but I'm not sure yet if it is always correctly set.

My intention is to ensure this with an ERT, see my patch here:
http://lists.gnu.org/archive/html/emacs-orgmode/2013-06/msg00738.html

> [...]

Michael



reply via email to

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