From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: TODO agenda filtering on priority? Date: Sun, 08 Apr 2012 22:23:20 +0800 Message-ID: <87zkamz4iv.wl%jamshark70@dewdrop-world.net> References: <87hawv1qjt.wl%jamshark70@dewdrop-world.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGt1k-0002hO-Lj for emacs-orgmode@gnu.org; Sun, 08 Apr 2012 10:23:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SGt1i-0007Hz-N5 for emacs-orgmode@gnu.org; Sun, 08 Apr 2012 10:23:36 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:46119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGt1i-0007BL-Fe for emacs-orgmode@gnu.org; Sun, 08 Apr 2012 10:23:34 -0400 Received: by mail-iy0-f169.google.com with SMTP id r24so6138341iaj.0 for ; Sun, 08 Apr 2012 07:23:33 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Brand Cc: emacs-orgmode@gnu.org At Sat, 7 Apr 2012 21:22:59 +0200, Michael Brand wrote: > On Sat, Apr 7, 2012 at 17:59, James Harkins 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