>>>>> Regarding 'Re: [Orgmode] Re: how to do this org-agenda command?'; Matthew 
>>>>> Lundin adds:


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

I don't really like this because I already use state for other purposes.

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

Wow, that's super.  I searched for "<today>" in the documentation and
came upon "7.3 Property searches", I've missed that very important part
of the documentation until now.

-- 
Richard


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to