emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [babel] PROPERTY doesn't do what BABEL did


From: cberry
Subject: [O] [babel] PROPERTY doesn't do what BABEL did
Date: Wed, 14 Dec 2011 15:04:16 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

I would like to get the same behavior as when I export a file with (say)
these three lines:

#+begin_src emacs-lisp :var foo=1 :var bar=2 :results value :exports both
  (+ foo bar)
#+end_src

But I'd like to set a buffer wide PROPERTY to achieve that as with a
file with these lines:

#+property: var  foo=1
#+property: var+ bar=2

#+begin_src emacs-lisp :results value :exports both
(+ foo bar)
#+end_src

it throws an error under 7.8.02 (downloaded as tar.gz) when I try to export
it with 'C-c C-e a yes RET' :

          progn: Symbol's value as variable is void: foo

Other trials seem to show that #+PROPERTY: is ignored by the src blocks

I'd really like to get something that does what BABEL used to do as I
have a lot of code that relies on that behavior. :-(

Chuck

---




reply via email to

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