Re: [O] Babel: Why does noweb work differently depending on 'call depth'?

2018-06-24 Thread jhe...@t-online.de
Thank you for this hint. I still do not really get the reason, why the difference shows up only in the compare part of the cond and works as expected in the t body, so I will go deeper into evaluation order and var replacement code. Greetings >> Noweb expansion is done before references in t

Re: [O] Babel: Why does noweb work differently depending on 'call depth'?

2018-06-23 Thread Nicolas Goaziou
Hello, "jhe...@t-online.de" writes: > Hi list, > > have spent hours with trying to de-mystify this issue, but no chance to get > it. > Any hints or doc references are welcome. > > > Given a src block with a simple if clause depending on parameter p1: > > #+NAME: decider > #+BEGIN_SRC emacs-lisp

[O] Babel: Why does noweb work differently depending on 'call depth'?

2018-06-23 Thread jhe...@t-online.de
Hi list, have spent hours with trying to de-mystify this issue, but no chance to get it. Any hints or doc references are welcome. Given a src block with a simple if clause depending on parameter p1: #+NAME: decider #+BEGIN_SRC emacs-lisp :var p1="tbd" :results output (cond ((equal p1 "valA")(