emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Paul Mead <paul.d.mead@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Help with a custom block agenda
Date: Wed, 13 Jan 2010 13:57:39 -0500	[thread overview]
Message-ID: <87my0hkf30.fsf@fastmail.fm> (raw)
In-Reply-To: <87ocky6ir8.fsf@gmail.com> (Paul Mead's message of "Wed, 13 Jan 2010 17:02:03 +0000")

Hi Paul,

Paul Mead <paul.d.mead@gmail.com> writes:

> I want the option to have TODO items with the tag "FOCUS" listed in both
> the custom block agenda, and as a list in its own right. In the custom
> block agenda however, I only want to see those which are unscheduled,
> not WAITING, not STARTED as I've already listed those items above - it's
> this section where I want to see all the FOCUS actions which I haven't
> addressed yet.

Does the following work?

--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
           '(("a" "Custom block Agenda"
              ((agenda "")
               (todo "STARTED")
               (tags "FOCUS/!-STARTED-WAITING"  
		     ((org-agenda-todo-ignore-scheduled t))))) 
             ("d" todo "DONE"
              ((org-agenda-todo-ignore-scheduled nil)
               (org-agenda-todo-ignore-with-date nil)
               (org-agenda-todo-ignore-deadlines nil)))
             ("p" "Project list" tags "project")
             ("f" "FOCUS list" tags-todo "FOCUS")
))
--8<---------------cut here---------------end--------------->8---

Best,
Matt

  reply	other threads:[~2010-01-13 18:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-13 17:02 Help with a custom block agenda Paul Mead
2010-01-13 18:57 ` Matt Lundin [this message]
2010-01-13 20:17   ` Paul Mead

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=87my0hkf30.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=paul.d.mead@gmail.com \
    /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).