[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: how to do this org-agenda command?
From: |
Matthew Lundin |
Subject: |
Re: [Orgmode] Re: how to do this org-agenda command? |
Date: |
Sat, 07 Feb 2009 08:13:14 -0600 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) |
Hi Richard,
> Thanks Manish, would it be possible to have this as a single tags-todo
> section? Ideally I would like to have something like this, so the most
> important tasks can stay visually together at the top of my daily agenda
> stuff:
As Manish said, I would recommend automatically changing to a todo state
when you clock in an item.
--8<---------------cut here---------------start------------->8---
(setq org-clock-in-switch-to-state "STARTED")
--8<---------------cut here---------------end--------------->8---
Then you could create a custom agenda command like the following:
--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
'(("n" "Now" tags-todo
"PRIORITY=\"A\"|SCHEDULED=\"<today>\"|TODO=\"STARTED\"")))
--8<---------------cut here---------------end--------------->8---
Hope this helps.
Matt