emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Miele <sebastian.miele@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: COMMENT and noweb-ref
Date: Thu, 26 Sep 2019 16:58:35 +0000	[thread overview]
Message-ID: <87y2ybgfk4.fsf@gmail.com> (raw)
In-Reply-To: <87o8zkyli6.fsf@gmail.com>

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.miele@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
>
>   * 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.

  parent reply	other threads:[~2019-09-26 16:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-16 21:33 Bug: COMMENT and noweb-ref Sebastian Miele
2019-09-16 21:39 ` Sebastian Miele
2019-09-26 16:58 ` Sebastian Miele [this message]
2019-09-26 18:09   ` Marco Wahl
2019-10-02 13:38     ` Sebastian Miele
2019-10-08 20:34   ` Sebastian Miele
2019-10-20 22:09 ` [PATCH] " Sebastian Miele
2019-10-20 22:30 ` Sebastian Miele
2019-11-24  9:29   ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2ybgfk4.fsf@gmail.com \
    --to=sebastian.miele@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).