From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: filter agenda by priority? Date: Sat, 10 Apr 2010 17:13:02 +0200 Message-ID: <3ADE5400-323D-459A-A3EF-A7226F9FBF05@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0cMt-0005q9-Kr for emacs-orgmode@gnu.org; Sat, 10 Apr 2010 11:13:07 -0400 Received: from [140.186.70.92] (port=50077 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0cMs-0005px-Gc for emacs-orgmode@gnu.org; Sat, 10 Apr 2010 11:13:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0cMr-0004uU-5b for emacs-orgmode@gnu.org; Sat, 10 Apr 2010 11:13:06 -0400 Received: from ey-out-1920.google.com ([74.125.78.146]:61182) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0cMq-0004u6-VK for emacs-orgmode@gnu.org; Sat, 10 Apr 2010 11:13:05 -0400 Received: by ey-out-1920.google.com with SMTP id 4so303581eyg.34 for ; Sat, 10 Apr 2010 08:13:04 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Gilbert Cc: emacs-orgmode Mailinglist On Apr 10, 2010, at 12:00 AM, Michael Gilbert wrote: > Hi all =97 > > Been through the manual. Might be missing something obvious. But, is =20= > there a straightforward way to filter the Agenda by Priority? I find =20= > that I would actually USE priorities more if I could figure out how =20= > to do this. You can have the agenda sorted by priority, or you can do a tags/todo/=20= category search for a particular priority. For example C-c a M PRIORITY=3D"A" If you want to have the daily/weekly agenda for only a single =20 priority, you would have to use a skipping conditon. Here is how such =20= a setup would look in the customization buffer for org-agenda-custom-=20 commands, Org Agenda Custom Commands: Hide Value INS DEL Choice: Value Menu Single command: Access Key(s) : x [X] Description: Agenda for priority A Choice: Value Menu Agenda Match (only for some commands): Local settings for this command. Remember to quote values: INS DEL Setting: Value Menu Non-standard skipping =20 condition: org-agenda-skip-function Function or form (quoted!): '(and (not (equal =20= "A" (org-entry-get nil "PRIORITY"))) (point-at-eol)) INS [ ] Export: INS And the lisp representation is: (push '("x" "Agenda for priority A" agenda "" ((org-agenda-skip-function '(and (not (equal "A" (org-entry-get nil "PRIORITY"))) (point-at-eol))))) org-agenda-custom-cammands) Hope this helps - Carsten > > TIA! > > =97 Michael > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten