A few months ago, I converted my init file into an org file, and I’ve
since been using it as a way to organize my blog posts.
I won’t go into too much detail here, suffice to say that this is a huge
org-mode
buffer, where many headlines have a SCHEDULED
date.
How can I list all SCHEDULED headlines in this file, sorted by date?
All I care to see is the date, todo status, and title. Anything else is superfluous.
Other important requirements:
- Do not ommit headlines marked as
DONE
. - List only
SCHEDULED
items. I don’t want to see headlines that just happen to have a date (<2014-10-04 Sat>
) in them. - Only use this file. Do not search through all my agenda files.
For clarity, take the following file.
* DONE Hi guys
CLOSED: [2014-10-04 Sat 15:18] SCHEDULED: <2014-10-04 Sat>
* Hello me
** Hello everyone <2014-10-05 Sun>
** TODO The world is at my feet
SCHEDULED: <2014-10-11 Sat>
I’d like to run a command which would display a list something like this:
<2014-10-04 Sat> DONE Hi guys
<2014-10-11 Sat> TODO The world is at my feet
Of course, I’m not picky about the format. The important thing is to have this information displayed in a convenient way.
My gut tells me this has something to do with org-agenda
, but I’m
not sure how to get there.