emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Agenda TODO sorting by date
@ 2012-03-03  2:28 James Harkins
  2012-03-03  2:48 ` Bernt Hansen
  0 siblings, 1 reply; 10+ messages in thread
From: James Harkins @ 2012-03-03  2:28 UTC (permalink / raw)
  To: emacs-orgmode

Given this:

* Category 1
** TODO First todo in file <2012-03-30 Fri>				:Tag:
** TODO Second todo in file <2012-03-29 Thu>				:Tag:
* Category 2
** TODO Third todo in file <2012-03-28 Wed>				:Tag:
** TODO Fourth todo in file <2012-03-31 Sat>				:Tag:

I do C-c a < M Tag <ret> and get:

Headlines with TAGS match: Tag
Press `C-u r' to search again with new search string
  todo_sort:  TODO First todo in file <2012-03-30 Fri>                     :Tag:
  todo_sort:  TODO Second todo in file <2012-03-29 Thu>                    :Tag:
  todo_sort:  TODO Third todo in file <2012-03-28 Wed>                     :Tag:
  todo_sort:  TODO Fourth todo in file <2012-03-31 Sat>                    :Tag:

I want to configure a custom agenda command so that I get:

Headlines with TAGS match: Tag
Press `C-u r' to search again with new search string
  todo_sort:  TODO Third todo in file <2012-03-28 Wed>                     :Tag:
  todo_sort:  TODO Second todo in file <2012-03-29 Thu>                    :Tag:
  todo_sort:  TODO First todo in file <2012-03-30 Fri>                     :Tag:
  todo_sort:  TODO Fourth todo in file <2012-03-31 Sat>                    :Tag:

How do I do this?

James


--
James Harkins /// dewdrop world
jamshark70@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Agenda TODO sorting by date
@ 2012-03-01  9:36 James Harkins
  0 siblings, 0 replies; 10+ messages in thread
From: James Harkins @ 2012-03-01  9:36 UTC (permalink / raw)
  To: emacs-orgmode

I'm still poking around, trying to figure out how to sort my TODO tag search the way that I want.

Initially I thought org-agenda-sorting-strategy would do it, but only just found the variable's documentation: "Sorting structure for the agenda items of a single day."

Since I want to sort the TODO entries *by day* (across multiple days), obviously this won't do it.

So I still have the question. Given this (omitting tags):


* Audio Class
** Audio session 03
*** TODO Write next week's assignment <2012-03-04>
* Lessons
** Audio 2010
*** TODO Listen and critique <2012-03-03>
** TODO (something else, not time stamped)


How do I get a tags-search (to-do only) like this?


*** TODO Listen and critique <2012-03-03>
*** TODO Write next week's assignment <2012-03-04>
** TODO (something else, not time stamped)


Currently, I get


*** TODO Write next week's assignment <2012-03-04>
*** TODO Listen and critique <2012-03-03>
*** TODO (something else, not time stamped)


because that's the order in which they appear in the file. So I have to scan the whole list to find what's for today, what's for tomorrow etc.

I keep thinking, orgmode can already practically make me a grilled cheese sandwich, so there must be a way to do this. Just can't find it.

hjh


--
James Harkins /// dewdrop world
jamshark70@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-03-04  7:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-03  2:28 Agenda TODO sorting by date James Harkins
2012-03-03  2:48 ` Bernt Hansen
2012-03-03 16:23   ` James Harkins
2012-03-03 16:38     ` Alan E. Davis
2012-03-04  1:23       ` James Harkins
2012-03-03 19:03     ` Bernt Hansen
2012-03-04  2:59       ` James Harkins
2012-03-04  4:31         ` Bernt Hansen
2012-03-04  6:59           ` James Harkins
  -- strict thread matches above, loose matches on Subject: below --
2012-03-01  9:36 James Harkins

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