emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [babel] Loosing my latin...


From: Nick Dokos
Subject: Re: [O] [babel] Loosing my latin...
Date: Thu, 24 Nov 2011 11:27:57 -0500

Sebastien Vauban <address@hidden> wrote:

> Hello,
> 
> While this code block gets evaluated as expected...
> 
> #+begin_src emacs-lisp :var foo=11 bar=22
>   (+ foo bar)
> #+end_src
> 
> #+results:
> : 33
> 
> It's not the same with the 2 following ones: variables `bar' and `baz' are
> said to be void.
> 
> ** NOK With property
> 
> #+property: var bar=44
> #+begin_src emacs-lisp
>   (+ bar bar)
> #+end_src
> 

This one worked after C-c C-c on the property line.

> ** NOK With headers
> 
> 
> #+begin_src emacs-lisp
>   (+ baz baz)
> #+end_src
> 

This one didn't - but it worked like this:

#+headers: :var baz=55

even with a singular "header" - doing this in a hurry, so I'm not sure
if that's an accident of history left behind, or whether it would happen
in a fresh session as well.

Nick

> Am I missing something really obvious??[1]
> 
> Best regards,
>   Seb
> 
> Footnotes:
> 
> [1] Org-mode version 7.7 (release_7.7.600.gb331.dirty), up-to-date at the time
> of writing this.
> 
> -- 
> Sebastien Vauban
> 
> 



reply via email to

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