From: "Thomas S. Dye" <tsd@tsdye.com>
To: Matthew Lundin <mdl@imapmail.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Newbie question on sorting TODO items
Date: Sat, 4 Jul 2009 11:14:47 -1000 [thread overview]
Message-ID: <725FF8DB-C174-41A4-AFC8-9D21334EAF23@tsdye.com> (raw)
In-Reply-To: <87y6r4jlxp.fsf@fastmail.fm>
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" <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:
>> #+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
next prev parent reply other threads:[~2009-07-04 21:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-04 18:00 Newbie question on sorting TODO items Thomas S. Dye
2009-07-04 19:19 ` Matthew Lundin
2009-07-04 21:14 ` Thomas S. Dye [this message]
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:
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=725FF8DB-C174-41A4-AFC8-9D21334EAF23@tsdye.com \
--to=tsd@tsdye.com \
--cc=emacs-orgmode@gnu.org \
--cc=mdl@imapmail.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).