From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Miele Subject: Re: Bug: COMMENT and noweb-ref Date: Thu, 26 Sep 2019 16:58:35 +0000 Message-ID: <87y2ybgfk4.fsf@gmail.com> References: <87o8zkyli6.fsf@gmail.com> Reply-To: sebastian.miele@gmail.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50241) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDX7H-0003te-Af for emacs-orgmode@gnu.org; Thu, 26 Sep 2019 12:59:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDX7F-00085x-8H for emacs-orgmode@gnu.org; Thu, 26 Sep 2019 12:59:43 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:35065) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDX7F-00082a-0J for emacs-orgmode@gnu.org; Thu, 26 Sep 2019 12:59:41 -0400 Received: by mail-wm1-f50.google.com with SMTP id y21so3378945wmi.0 for ; Thu, 26 Sep 2019 09:59:40 -0700 (PDT) Received: from tisch ([2a02:908:175c:4260:5ffc:7882:6024:ca5b]) by smtp.gmail.com with ESMTPSA id a71sm4170124wme.11.2019.09.26.09.58.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2019 09:58:36 -0700 (PDT) In-reply-to: <87o8zkyli6.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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 writes: > org-babel-tangle on > > * A > > #+BEGIN_SRC elisp :tangle yes :noweb yes > ;; A > <> > #+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.