emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Newbie question on sorting TODO items


From: Thomas S. Dye
Subject: [Orgmode] Re: Newbie question on sorting TODO items
Date: Sat, 4 Jul 2009 11:14:47 -1000

Aloha Matt,

Thanks for taking the time to look at this. With C-c ^ o, I get "Invalid sorting type `o'".

I'm using org-mode 5.23a with Aquamacs Emacs 1.8.

Tom

On Jul 4, 2009, at 9:19 AM, Matthew Lundin wrote:

"Thomas S. Dye" <address@hidden> 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:
#+SEQ_TODO: TODO(t) STARTED(s) WAITING(w@/!) APPT(a) DELEGATED(l@) |
DONE(d!) CANCELLED(c@) DEFERRED(f@)
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.

Best,
Matt





reply via email to

[Prev in Thread] Current Thread [Next in Thread]