From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin =?utf-8?Q?Carl=C3=A9?= Subject: Re: [BUG] COMMENT-ed sections are tangled, if preceded by an org-todo keyword Date: Mon, 12 Oct 2015 02:10:17 +0300 Message-ID: References: <87egh1krtu.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=sha256; protocol="application/pkcs7-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlPlA-0001Sj-3A for emacs-orgmode@gnu.org; Sun, 11 Oct 2015 19:10:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlPl5-0002JQ-Ql for emacs-orgmode@gnu.org; Sun, 11 Oct 2015 19:10:31 -0400 Received: from mail.gispack.com ([212.204.56.78]:43381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlPl5-0002JM-BH for emacs-orgmode@gnu.org; Sun, 11 Oct 2015 19:10:27 -0400 In-reply-to: <87egh1krtu.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thank you for looking into that issue! I trace the git repo of org-mode (current commit is 50a18201). My todo-keywords are not defined file-local but during emacs startup like t= his: ,--------------------------------------------------------------------------= ------------------------------------------------------------- | (setq org-todo-keywords | '((sequence "TODO(t)" "|" "DONE(d)") | (sequence "DOIT(i!)" "FEEDBACK(e@/!)" "LINGER(l@/!)" "VERIFY(v!= )" "|" "OVER(o!)" "DELEGATED(g@/!)") | (sequence "BUG(b!)" "ASK(a)" "REPORT(r)" "KNOWNCAUSE(k!)" "WATC= H(w!)" "|" "STRANGE(s!)" "FIXED(f@/!)")=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 | (sequence "|" "CANCELED(c@)")=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | (sequence "THINKof(T)" "CHECK(K)" "OPTIMIZE(O)" "CONTINUE(C)" "= REPEAT(R)" "MAYBE(M)" "|" "PERFECTED(P)")=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 | (sequence "TODOs" "|" "DONEs")=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | ))=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 `--------------------------------------------------------------------------= ------------------------------------------------------------- Maybe that's the reason why it couldn't be reproduced. Or do I missed something while setting the var "org-todo-keywords"? Best regards, mc On 2015-10-12T00:39:41+0300, spake thus: > 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 tan= gled. > > > > 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 =2D-=20 Fetch my gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 7E3CA33F --=-=-= Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAADGCAucw ggLjAgEBMIIBJDCCAR0xCzAJBgNVBAMMAk1DMRswGQYDVQQKDBLOoM6Vzp3OpM6RzqXOm86fzpkx gZcwgZQGA1UECwyBjM6gz4HPjM6zz4HOsc68zrzOsSDOo8+Fz4PPhM6uzrzOsc+Ezr/PgiDOoM6x z4HOsc+DzrfOvM6xzr3PhM65zrrOrs+CIM6kzq3Ph869zrfPgiDOus6xzrkgzqDPgc6/zrXOus+E zr/PgM65z4PPhM65zrrOv8+NIM6gzr/Ou865z4TOuc+DzrzOv8+NMRMwEQYDVQQIDArOlc67zrvO rM+CMQswCQYDVQQGEwJHUjETMBEGA1UEBwwKzpHOuM6uzr3OsTEgMB4GCSqGSIb3DQEJARYRbWNA YWlndXBob25pZS5jb20CAQcwDQYJYIZIAWUDBAIBBQCggZMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3 DQEHATAcBgkqhkiG9w0BCQUxDxcNMTUxMDExMjMxMDE3WjAoBgkqhkiG9w0BCQ8xGzAZMAsGCWCG SAFlAwQBAjAKBggqhkiG9w0DBzAvBgkqhkiG9w0BCQQxIgQgMw5iTbwcgSwCBzkZfuDEtuuzOpHj LbDO478HSAi8Cf8wDQYJKoZIhvcNAQEBBQAEggEACzHva2liks0sURIJhn4g3eGynZHw1EedKv5C R3UyESntx1kJfyjnoK0dlxF+VvvoU0gJHQPIf0/HkD3cMsbXEUjqmZsOygFUi0qJ9Qq//qrFqMYq rV2Bqufv18FCfNJ8oOZoVl2LozLPe7WHpu7VEDJbTSGOBfhk9VIXMK3o5VU6yLLRsl9fJypq2ENH 2Mu8XR3oST+sBy004orc3SSMLevqh4OmjJr5bBJg07cku/8gn3Ssf9Locyokav+foQpd4rwPKEUt hU34XAz2VF3xsrOqY6GSu1YP7GtTK2nsfLRDplxVw2XeeQFSrNDS+Akvgs6OGgTVwEaYmMFbmRhg OAAAAAAAAA== --=-=-=--