emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Josef Atmin <jatmin@web.de>
To: emacs-orgmode@gnu.org
Subject: Re: TODOs with repeat are not sorted correctly(?) in the	agenda	view
Date: Thu, 27 Dec 2012 10:36:00 +0000 (UTC)	[thread overview]
Message-ID: <loom.20121227T113402-645@post.gmane.org> (raw)
In-Reply-To: 87zk13sisn.fsf@bzg.ath.cx

Dear Bastien,

Bastien <bzg <at> altern.org> writes:
> > I have tried to customize `org-agenda-sorting-strategy', but only
> > 'user-defined-up' might do the trick, I think.  
> > However, I do not know LISP and
> > would not know how to define the required comparison function.
> 
> In fact we need a date-up/date-down sorting strategy.

Maybe, it would be clearer to call it scheduled-up/scheduled-down,
because there are several different dates used.

As far as I understand, items are already sorted by date as a
fallback, i.e. it cannot be selected in the 'customize-variable' of
'org-agenda-sorting-strategy', but it is done anyway as a last rule.
However, the date used is not the SCHEDULED date but in repeated items
it is the last date in the past that one would get by incrementing the
SCHEDULED date by multiples of the interval set (e.g. .+1w), which I
find a not very useful behavior.

> I'm putting this in my TODO list for Org 8.0.

If you could implement a scheduled-up/scheduled-down to override this
behavior, that would be great.

Best wishes,

Josef.

      reply	other threads:[~2012-12-27 11:21 UTC|newest]

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

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=loom.20121227T113402-645@post.gmane.org \
    --to=jatmin@web.de \
    --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).