Sebastian Miele <sebastian.mi...@gmail.com> writes: > In the following days I will try to fix it and write a regression test. > > However, in the unlikely case that this is a feature and not a bug, > please let me know. Please also let me know, if anyone is already on it. > > Sebastian Miele <sebastian.mi...@gmail.com> writes: > >> org-babel-tangle on >> >> * A >> >> #+BEGIN_SRC elisp :tangle yes :noweb yes >> ;; A >> <<B>> >> #+END_SRC >> >> * COMMENT B >> >> #+BEGIN_SRC elisp :noweb-ref B >> ;; B >> #+END_SRC
>> [...] >> >> produces a file with A and B in it. Expected: Just A. Changing >> >> #+BEGIN_SRC elisp :noweb-ref B >> ;; B >> #+END_SRC >> >> to >> >> # #+BEGIN_SRC elisp :noweb-ref B >> # ;; B >> # #+END_SRC >> >> does yield the expected result. Your expectation looks right to me. I guess nobody thought about this case before. Happy hacking, -- Marco