From: James Harkins <jamshark70@gmail.com>
To: Michael Brand <michael.ch.brand@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: TODO agenda filtering on priority?
Date: Sun, 08 Apr 2012 22:23:20 +0800 [thread overview]
Message-ID: <87zkamz4iv.wl%jamshark70@dewdrop-world.net> (raw)
In-Reply-To: <CALn3zoi0WNDkYD4d99NYOL7KVtfXqTh8zCYQ_wXBzwp5f9gR+A@mail.gmail.com>
At Sat, 7 Apr 2012 21:22:59 +0200,
Michael Brand wrote:
> On Sat, Apr 7, 2012 at 17:59, James Harkins <jamshark70@gmail.com> wrote:
> > How to make a TODO agenda search that will show only #A priority items? (Or #B or #C?)
> > I see in the manual how to search on tags or properties, but not priorities.
>
> The manual has an example for matching PRIORITY, linked from several
> other manual pages about searches, here:
> http://orgmode.org/manual/Matching-tags-and-properties.html
And my solution, for now: just a separate block for priority A. Priority B and C, I guess, don't really need to be in separate blocks.
'(org-agenda-custom-commands
(quote
(
("0" "Block TODO" (
(tags-todo "PRIORITY=\"A\"" (
(org-agenda-overriding-header "TOP PRIORITY")
(org-agenda-sorting-strategy (quote (user-defined-up)))
))
(tags-todo "-PRIORITY=\"A\"" (
(org-agenda-overriding-header "Others")
(org-agenda-sorting-strategy (quote (priority-down user-defined-up)))
))
) nil nil)
)
))
Thanks for the tips!
James
--
James Harkins /// dewdrop world
jamshark70@dewdrop-world.net
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman
blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks
prev parent reply other threads:[~2012-04-08 14:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-07 15:59 TODO agenda filtering on priority? James Harkins
2012-04-07 19:22 ` Michael Brand
2012-04-08 2:07 ` James Harkins
2012-04-08 14:23 ` James Harkins [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=87zkamz4iv.wl%jamshark70@dewdrop-world.net \
--to=jamshark70@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=michael.ch.brand@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).