From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: [babel] Loosing my latin... Date: Thu, 24 Nov 2011 21:18:03 +0100 Message-ID: <80pqgh2s1w.fsf@somewhere.org> References: <80bos15xy2.fsf@somewhere.org> <30098.1322152077@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Nick, Nick Dokos wrote: > Sebastien Vauban wrote: >> While this code block gets evaluated as expected [...] >> 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. I did C-c C-c on the property line -- before sending. It still does not work. Even with the property line outside of the subtrees[1], that is at the top level of the file, it still does not work after a C-c C-c... >> ** NOK With headers >> >> >> #+begin_src emacs-lisp >> (+ baz baz) >> #+end_src > > This one didn't - but it worked like this: > > #+headers: :var baz=55 Of course. Thanks for testing and reporting back! The `:' is a must in front of the `var' keyword, in this case, as if it was on the `#+begin' line. > 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. >> Am I missing something really obvious??[1] It seems I did miss something quite obvious for the last case. Still unclear why the second does not work for me. Thanks for your time. Best regards, Seb Footnotes: [1] I fear what I did was not allowed. Though, it worked for you!? -- Sebastien Vauban