From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: Scope issue: "SCHEDULED/DEADLINE" in blocks are being evaluated Date: Sun, 17 Jan 2016 13:33:52 +0100 Message-ID: <84a8o4jsgf.fsf@gmail.com> References: <2016-01-15T15-10-01@devnull.Karl-Voit.at> <84mvs6c1b4.fsf@gmail.com> <2016-01-17T10-09-57@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKmX7-000107-IP for emacs-orgmode@gnu.org; Sun, 17 Jan 2016 07:34:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKmX2-000247-IX for emacs-orgmode@gnu.org; Sun, 17 Jan 2016 07:34:13 -0500 Received: from plane.gmane.org ([80.91.229.3]:46078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKmX2-000243-Bh for emacs-orgmode@gnu.org; Sun, 17 Jan 2016 07:34:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aKmWz-0003Ou-QY for emacs-orgmode@gnu.org; Sun, 17 Jan 2016 13:34:05 +0100 Received: from x5f701c3e.dyn.telefonica.de ([95.112.28.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jan 2016 13:34:00 +0100 Received: from marcowahlsoft by x5f701c3e.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jan 2016 13:34:00 +0100 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: emacs-orgmode@gnu.org Hi Karl! >> Karl Voit writes: [...] > Unfortunately, this fix (or any other commit?) prevents my > non-recurring tasks to be completed when I got "DEADLINE" or > "SCHEDULED" in the body text within blocks or comments. > It's an edge-case but it should be fixed. When I do mark the following three > example headers as done ... > > *** NEXT test with quote > > #+BEGIN_QUOTE > ,----[ examples ] > | DEADLINE: <2016-01-31 Sun +1w> > `---- > #+END_QUOTE > > > *** NEXT test with example > > #+BEGIN_EXAMPLE > ,----[ examples ] > | DEADLINE: <2016-01-31 Sun +1w> > `---- > #+END_EXAMPLE > > > *** NEXT test with : > > : ,----[ examples ] > : | DEADLINE: <2016-01-31 Sun +1w> > : `---- I can reproduce your statement. Even the subtree containing just a repeater without string DEADLINE or SCHEDULED does not get completed. --8<---------------cut here---------------start------------->8--- * TODO Thing #+BEGIN_QUOTE <2016-01-01 Sun +1w> #+END_QUOTE --8<---------------cut here---------------end--------------->8--- I agree with you that this behavior is unfortunate. AFAICS there is nothing yet in the documentation about this case. This means we can define a behavior. What about the requirement: Do neither touch nor take into account any date contained in any block of an item for progressing the item. I think this requirement could be discussed, corrected, refined and finally be implemented. Meanwhile you need to take care of such items and rewrite the todo keyword manually. Org files are still text files. ;) BTW the documentation of `org-todo' has: "With a numeric prefix arg of -1, cancel repeater to allow marking as DONE." > So I guess the new scope is too generous. I bet that this issue has been there all the time. Best regards, -- Marco Wahl GPG: 0x49010A040A3AE6F2