From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Miele Subject: Re: Bug: COMMENT and noweb-ref Date: Tue, 08 Oct 2019 20:34:16 +0000 Message-ID: <87y2xv6kon.fsf@gmail.com> References: <87o8zkyli6.fsf@gmail.com> <87y2ybgfk4.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]:40230) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHwBb-0005s5-Rv for emacs-orgmode@gnu.org; Tue, 08 Oct 2019 16:34:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHwBa-000759-TY for emacs-orgmode@gnu.org; Tue, 08 Oct 2019 16:34:23 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:52022) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHwBa-00074a-LJ for emacs-orgmode@gnu.org; Tue, 08 Oct 2019 16:34:22 -0400 Received: by mail-wm1-x332.google.com with SMTP id 7so4589499wme.1 for ; Tue, 08 Oct 2019 13:34:21 -0700 (PDT) Received: from tisch ([2a02:908:175c:4260:5ffc:7882:6024:ca5b]) by smtp.gmail.com with ESMTPSA id y14sm31025009wrd.84.2019.10.08.13.34.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2019 13:34:17 -0700 (PDT) In-reply-to: <87y2ybgfk4.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 I wrote: > I wrote: > >> 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. > > 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