[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: COMMENT and noweb-ref
From: |
Marco Wahl |
Subject: |
Re: [O] Bug: COMMENT and noweb-ref |
Date: |
Thu, 26 Sep 2019 20:09:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Sebastian Miele <address@hidden> 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 <address@hidden> 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