emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marco Wahl <marcowahlsoft@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Scope issue: "SCHEDULED/DEADLINE" in blocks are being evaluated
Date: Sun, 17 Jan 2016 13:33:52 +0100	[thread overview]
Message-ID: <84a8o4jsgf.fsf@gmail.com> (raw)
In-Reply-To: 2016-01-17T10-09-57@devnull.Karl-Voit.at

Hi Karl!

>> Karl Voit <devnull@Karl-Voit.at> 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

  reply	other threads:[~2016-01-17 12:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-15 14:19 Recurring todos gets closed and not re-scheduled Karl Voit
2016-01-15 15:25 ` Marco Wahl
2016-01-17  9:38   ` Scope issue: "SCHEDULED/DEADLINE" in blocks are being evaluated (was: Recurring todos gets closed and not re-scheduled) Karl Voit
2016-01-17 12:33     ` Marco Wahl [this message]
2016-01-17 12:57     ` Scope issue: "SCHEDULED/DEADLINE" in blocks are being evaluated Rasmus
2016-01-17 13:53       ` Marco Wahl
2016-01-17 21:24     ` Nicolas Goaziou
2016-01-18 14:07       ` Karl Voit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84a8o4jsgf.fsf@gmail.com \
    --to=marcowahlsoft@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).