From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [BUG] COMMENT-ed sections are tangled, if preceded by an org-todo keyword Date: Sun, 11 Oct 2015 23:39:41 +0200 Message-ID: <87egh1krtu.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlOJc-0003q7-Cs for emacs-orgmode@gnu.org; Sun, 11 Oct 2015 17:38:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlOJb-0000ol-2x for emacs-orgmode@gnu.org; Sun, 11 Oct 2015 17:37:59 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:49654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlOJa-0000oU-SR for emacs-orgmode@gnu.org; Sun, 11 Oct 2015 17:37:59 -0400 In-Reply-To: ("Martin \=\?utf-8\?Q\?Carl\=C3\=A9\?\= \=\?utf-8\?Q\?\=22's\?\= message of "Sun, 11 Oct 2015 14:30:36 +0300") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Martin =?utf-8?Q?Carl=C3=A9?= Cc: emacs-orgmode@gnu.org Hello, Martin Carl=C3=A9 writes: > sections or subtrees commented with org-comment-string in the headline > should not be tangled. This works fine. > > However, if a tag defined in org-todo-keywords (other than TODO or DONE) > precedes the comment (as the official syntax has it), commenting is no > longer respected such that source-blocks in the section/subtree are tangl= ed. > > I think this cannot be intentional and is probably a bug. > > Best regards, > mc > > > For example: > > * TODO COMMENT this headline should not be tangled > #+begin_src emacs-lisp=20 > (message "I am COMMENT-ed and thus I am not tangled - OK") > #+end_src > > * WATCH COMMENT this headline should not be tangled > #+begin_src emacs-lisp=20 > (message "I am COMMENT-ed but a I still tangled - FALSE") > #+end_src I cannot reproduce the problem. Did you properly activate new TODO keyword, e.g., using C-c C-c on the #+TODO: WATCH line? Also, what is Org's version ? Regards, --=20 Nicolas Goaziou