all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: M <Elwood151@web.de>
To: emacs-orgmode@gnu.org
Subject: Modify sorting order of agenda (newest scheduled todos first)?
Date: Sun, 17 Jun 2012 17:18:49 +0200	[thread overview]
Message-ID: <CC03C1F9.10701%Elwood151@web.de> (raw)

Hi,

I want to change the sorting order in the agenda (the standard seems to be
that overdue items are sorted by date so that the oldest ones are shown
first) to get the items listed in the following order:

* as a first list:
todos with a deadline today or before today,
sorted by priority (descending), then sorted by due date, starting with
today and the oldest todo at the last position.

* then a blank line with "a customized text" in it

* then as a second list todos scheduled today or before today,
sorted by priority (descending) and then sorted by scheduled date, but the
newest ones first


e. g.

DEADLINE TODO [#A] re-configure org-mode
DEADLINE TODO [#B] read org-mode manual
in -3d   TODO [#B] do this
in -10d  TODO [#B] do that
a customized text
SCHEDULED TODO [#A] learn LISP
SCHEDULED TODO [#B] understand Emacs
SCHED.1x  TODO [#A] What I should have done yesterday
SCHED.1x  TODO [#B] What I might have done yesterday
SCHED.2x  TODO [#A] What I should have done the day before yesterday
...
SCHED.20x TODO [#A] What I should have done 20 days ago
SCHED.30x TODO [#A] What I should have done a month ago

IF there are examples for such a configuration of the agenda, please send me
a link. I did not find anything in the manual, but maybe I've overlooked it.

Kind regars

Martin

             reply	other threads:[~2012-06-17 15:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-17 15:18 M [this message]
2012-06-18  1:43 ` Modify sorting order of agenda (newest scheduled todos first)? Bernt Hansen

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

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

  git send-email \
    --in-reply-to=CC03C1F9.10701%Elwood151@web.de \
    --to=elwood151@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.