From mboxrd@z Thu Jan 1 00:00:00 1970 From: pinmacs Subject: bug logging the TODO tracking state with brackets in the header Date: Sat, 7 Dec 2019 23:11:43 +0100 Message-ID: <7ab3d704-15a1-54ca-aeaa-06a08b07414d@cas.cat> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41537) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idiST-0001KG-Bc for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 17:21:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1idiSP-0005Ee-VX for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 17:21:49 -0500 Received: from host.cas.cat ([51.68.173.168]:41392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1idiSO-0004oL-SU for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 17:21:45 -0500 Received: from [192.168.41.195] (p.ddns.jazztel.es [37.133.181.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by host.cas.cat (Postfix) with ESMTPSA id E978E3E885 for ; Sat, 7 Dec 2019 23:11:43 +0100 (CET) Content-Language: en-US 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 Hi, I reached a strange bug, I hope you can reproduce it too I want to track changes on TODO and I have in the beginning of my buffer: #+TODO: TODO(t!) PLANNED(p!) DOING(d!) VERIFY(v) EXPLAIN(e) | DONE(d!) which means that TODO, PLANEED, DOING and DONE will have a report of change in the same header [0] If I have the number of TODOs like [6/45] (6 DONE, 45 in TODO) is not working (see [1] for my example) If I quit that expression, it works, that could be the case when I do a subheader from a header without that brackets [2] I hope this example is illustrative [1]. The header that says "this fails" if I change the state, it reports tracking state in the parent header with wrong information "state TODO from TODO". It fails because the parent has the bracket thing. If the parent of the parent has bracket thing it reports to "the parent of the parent", so it is weird :/ The header that says "this works" changes from states correctly because parent does not have the brackets I hope you can reproduce the bug on your own I'm using orgmode version 9.3 let me if I can help with the bug reporting Cheers, pinmacs [0] https://www.gnu.org/software/emacs/manual/html_node/org/Tracking-TODO-sta= te-changes.html [1] *** TODO <2019-12-07 Sat>=A0 [6/45]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 :today: - State "TODO"=A0=A0=A0=A0=A0=A0 from "TODO"=A0=A0=A0=A0=A0=A0 [2019-12-0= 7 Sat 22:58] - State "TODO"=A0=A0=A0=A0=A0=A0 from "TODO"=A0=A0=A0=A0=A0=A0 [2019-12-0= 7 Sat 22:58] - State "TODO"=A0=A0=A0=A0=A0=A0 from "TODO"=A0=A0=A0=A0=A0=A0 [2019-12-0= 7 Sat 22:57] - State "TODO"=A0=A0=A0=A0=A0=A0 from "TODO"=A0=A0=A0=A0=A0=A0 [2019-12-0= 7 Sat 22:57] - State "TODO"=A0=A0=A0=A0=A0=A0 from "TODO"=A0=A0=A0=A0=A0=A0 [2019-12-0= 7 Sat 22:57] - State "TODO"=A0=A0=A0=A0=A0=A0 from "TODO"=A0=A0=A0=A0=A0=A0 [2019-12-0= 7 Sat 22:57] **** DONE this fails ***** DONE this works OK - State "DONE"=A0=A0=A0=A0=A0=A0 from "EXPLAIN"=A0=A0=A0 [2019-12-07 Sat = 22:58] - State "DOING"=A0=A0=A0=A0=A0 from "PLANNED"=A0=A0=A0 [2019-12-07 Sat 22= :58] - State "PLANNED"=A0=A0=A0 from "TODO"=A0=A0=A0=A0=A0=A0 [2019-12-07 Sat = 22:58] - State "TODO"=A0=A0=A0=A0=A0=A0 from=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 [2019-12-07 Sat 22:58] [2] as you can see in the following 2 links: - https://orgmode.org/manual/Breaking-down-tasks.html#Breaking-down-tasks - https://orgmode.org/manual/Checkboxes.html#Checkboxes