[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: COMMENT and noweb-ref
From: |
Sebastian Miele |
Subject: |
Re: [O] Bug: COMMENT and noweb-ref |
Date: |
Tue, 08 Oct 2019 20:34:16 +0000 |
User-agent: |
mu4e 1.3.5; emacs 26.3 |
I wrote:
> I wrote:
>
>> 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
>>
>> * COMMENT C
>>
>> #+BEGIN_SRC elisp :tangle yes
>> ;; C
>> #+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.
>
> In the following days I will try to fix it and write a regression test.
I wanted to mention that this is still on my agenda. But it will take a
while. Among other things, I have to learn the formal syntax and the
element api of Org, before I can satisfactorily dive into ob-tangle.el.
Apart from that I had to seriously limit my Emacs time per day.
It may take several weeks. But it will happen.
Best wishes
Sebastian