[Orgmode] org-babel-tangle tangles too much !

2009-12-01 Thread Nicolas Girard
Hi, I can't get tangle to work the way I want. Given a file f.org which contains = #+srcname: a #+begin_src emacs-lisp (a) #+end_src #+srcname: b #+begin_src emacs-lisp a (b) #+end_src = I would like (a) to appear only once in the tangled file f.el. All I could get is, that either (a)

Re: [Orgmode] org-babel-tangle tangles too much !

2009-12-01 Thread Thomas S. Dye
Hi Nicolas, On Dec 1, 2009, at 4:54 AM, Nicolas Girard wrote: Hi, I can't get tangle to work the way I want. Given a file f.org which contains = #+srcname: a #+begin_src emacs-lisp (a) #+end_src #+srcname: b #+begin_src emacs-lisp a (b) #+end_src = I would like (a) to appear only

Re: [Orgmode] org-babel-tangle tangles too much !

2009-12-01 Thread Eric Schulte
Hi Nicolas, At the moment org-babel believes that any time it sees a valid source block name surrounded by characters it is responsible for expanding them. Is there a reason that you are abusing this syntax? It looks as though you are trying to setup multiple levels of tangling like org-babel

Re: [Orgmode] org-babel-tangle tangles too much !

2009-12-01 Thread Dan Davison
Nicolas Girard nicolas.gir...@nerim.net writes: Hi, I can't get tangle to work the way I want. ... All I could get is, that either (a) appears twice (default behaviour), or (a) doesn't appear at all when I append :tangle no to #+srcname: a. Hi Nicolas, Note that all header arguments