emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Newbie question on sorting TODO items
Date: Sat, 04 Jul 2009 14:19:14 -0500	[thread overview]
Message-ID: <87y6r4jlxp.fsf@fastmail.fm> (raw)
In-Reply-To: <2212CE18-A3F3-4B36-8734-81176640B286@tsdye.com> (Thomas S. Dye's message of "Sat, 4 Jul 2009 08:00:03 -1000")

"Thomas S. Dye" <tsd@tsdye.com> writes:

> Aloha all,
> An article from last year "[PATCH 4/5] Add a new sort option, which
> sorts items by todo keyword" describes what I'd like to do in my .org
> files, i.e., sort TODO headlines by the order of the TODO state in the
> TODO sequence.   Given:
> I'd like to see DONE, CANCELLED, and DEFERRED down at the bottom and
> TODO, STARTED, WAITING, APPT, and DELEGATED up at the top in sorted
> order.
> Is this possible?

I believe you are looking for org-sort. If you type C-c ^ o org-mode
will sort your headlines by todos (in the order in which they appear in
your settings).

If you are interested in sorting by TODO in the agenda, you can add
"todo-state-up" to your org-agenda-sorting-strategy.


  reply	other threads:[~2009-07-04 19:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-04 18:00 Thomas S. Dye
2009-07-04 19:19 ` Matthew Lundin [this message]
2009-07-04 21:14   ` Thomas S. Dye
2009-07-05 11:34     ` Matthew Lundin

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:

  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=87y6r4jlxp.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.com \
    --subject='Re: Newbie question on sorting TODO items' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).