emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard KLINDA <rklinda@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Re: how to do this org-agenda command?
Date: Sat, 07 Feb 2009 15:26:35 +0100	[thread overview]
Message-ID: <87r62aqq5g.fsf@gmail.com> (raw)
In-Reply-To: <m2ljsibait.fsf@fastmail.fm> (Matthew Lundin's message of "Sat, 07 Feb 2009 08:13:14 -0600")

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

      reply	other threads:[~2009-02-07 14:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-07  2:38 how to do this org-agenda command? Richard KLINDA
2009-02-07  9:48 ` Manish
2009-02-07 12:03   ` Richard KLINDA
2009-02-07 12:22     ` Manish
2009-02-07 12:54       ` Richard KLINDA
2009-02-07 13:13         ` Manish
2009-02-07 14:31           ` Richard KLINDA
2009-02-07 14:13     ` Matthew Lundin
2009-02-07 14:26       ` Richard KLINDA [this message]

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=87r62aqq5g.fsf@gmail.com \
    --to=rklinda@gmail.com \
    --cc=emacs-orgmode@gnu.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).