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: Sebastien Vauban
Subject: Re: [O] [babel] Loosing my latin...
Date: Thu, 24 Nov 2011 21:18:03 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (windows-nt)

Hi Nick,

Nick Dokos wrote:
> Sebastien Vauban <address@hidden> 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




reply via email to

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