emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Delafond" <sdelafond@gmail.com>
To: emacs-orgmode@gnu.org
Subject: TODOs with repeat are not sorted correctly(?) in the agenda view
Date: Mon, 24 Dec 2012 08:59:16 +0000 (UTC)	[thread overview]
Message-ID: <20121224095559.427@usenet.piggo.com> (raw)

Hi fellows,

got the following bug report[1] from a Debian user:

  We have the <2012-12-23 Sun>.  I have in my TODO.org file the entries

  ***** TODO reference entry
        SCHEDULED: <2012-12-22 Sat>
  ***** TODO test entry +
        SCHEDULED: <2012-12-19 Wed +2d>
  ***** TODO test entry ++
        SCHEDULED: <2012-12-19 Wed ++2d>
  ***** TODO test entry .+
        SCHEDULED: <2012-12-19 Wed .+2d>

  When I type 'Ctrl-c a a' the agenda view gets created (with the
  default sorting settings) as follows:

    TODO:       Sched. 2x:  TODO reference entry
    TODO:       Scheduled:  TODO test entry +
    TODO:       Scheduled:  TODO test entry ++
    TODO:       Scheduled:  TODO test entry .+

  This is not the result I expect.  The test entries are scheduled 3
  days more in the past than the reference entry.  Thus, I would expect
  them to come first with 'Sched. 5x:' in front.  I understand that due
  to the repeats, the test entries virtually appear also on the 21st and
  23rd, and that's why it is sorted that way.  The sorting takes the
  last virtual appearance rather than the one real appearance.  But that
  means, that entries that I should work on every second day never makes
  it to the top of the priority list, which renders the priority list in
  the agenda view useless, I think.  When I work on one of the test
  entries and cycle through TODO-DONE-TODO, the SCHEDULED date is
  automatically incremented and only then should the entry appear later
  in the list.  This is the most reasonable behavior, I think.  However,
  since there seem different oppinions on that issue possible, it would
  be great to have at least an option that would allow to pick the one
  or the other behavior.

(Please note that he is still using version 7.01g). I'll point the user
to this thread so he can tell us more if need be.

Cheers,

--Seb

             reply	other threads:[~2012-12-24  8:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-24  8:59 Sébastien Delafond [this message]
2012-12-24  9:03 ` TODOs with repeat are not sorted correctly(?) in the agenda view Bastien
2012-12-24 11:16   ` Josef Atmin
2012-12-24 13:04     ` Bastien
2012-12-27 10:36       ` Josef Atmin

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=20121224095559.427@usenet.piggo.com \
    --to=sdelafond@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).