From mboxrd@z Thu Jan 1 00:00:00 1970 From: Barton Subject: Custom agenda view - filter by priority AND scheduled date Date: Wed, 28 Apr 2010 16:36:16 +0300 Message-ID: <1AF02DE7-68B8-4CD2-A17A-66F8D762910E@gmail.com> Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: multipart/mixed; boundary="===============0026018714==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O77RA-0005Dt-LT for emacs-orgmode@gnu.org; Wed, 28 Apr 2010 09:36:24 -0400 Received: from [140.186.70.92] (port=53958 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O77R9-0005DM-37 for emacs-orgmode@gnu.org; Wed, 28 Apr 2010 09:36:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O77R7-0004mq-JK for emacs-orgmode@gnu.org; Wed, 28 Apr 2010 09:36:22 -0400 Received: from fg-out-1718.google.com ([72.14.220.157]:1778) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O77R7-0004mb-CX for emacs-orgmode@gnu.org; Wed, 28 Apr 2010 09:36:21 -0400 Received: by fg-out-1718.google.com with SMTP id e21so2090799fga.12 for ; Wed, 28 Apr 2010 06:36:19 -0700 (PDT) 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: emacs-orgmode@gnu.org --===============0026018714== Content-Type: multipart/alternative; boundary=Apple-Mail-2--50682980 --Apple-Mail-2--50682980 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Greetings org-mode, In my workflow, I move by priorities and scheduled dates for the tasks. = My goal with this issue is to have a view that would show me only the = tasks with certain priority(-ies) that are scheduled for today (or are = overdue, as in (org-agenda-repeating-timestamp-show-all t) ). My feeble attempt here: (setq org-agenda-custom-commands '(("c" "Custom" ((agenda "" ((org-agenda-ndays 1)))=20 (tags-todo "+PRIORITY=3D\"A\""))) ;; ...other commands here )) ... displays a usual daily agenda and following it, _all_ the #A tasks = that I have. Clearly not what has been intended. After wrapping my head around it, I suspect that the only way to achieve = the desired functionality is through using/modifying org-agenda.el = functions to have a filter, similar to that in 'C-c a a' view for tags = ("/" - Tab), only this time for priorities. Is this the best way to do this and how would one go about it? Perhaps = there exists a better way to achieve the same functionality? Will be grateful for any assistance, Barton= --Apple-Mail-2--50682980 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Greetings = org-mode,

In my workflow, I move by priorities and = scheduled dates for the tasks. My goal with this issue is to have a view = that would show me only the tasks with certain priority(-ies) that are = scheduled for today (or are overdue, as in  = (org-agenda-repeating-timestamp-show-all t)
         ((agenda "" = ((org-agenda-ndays 1))) 
       =    (tags-todo "+PRIORITY=3D\"A\"")))
;; = ...other commands here
       =  ))

... displays a usual daily agenda and = following it, _all_ the #A tasks that I have. Clearly not what has been = intended.

After wrapping my head around it, I = suspect that the only way to achieve the desired functionality is = through using/modifying org-agenda.el functions to have a filter, = similar to that in 'C-c a a' view for tags ("/" - Tab), only this time = for priorities.

Is this the best way to do this = and how would one go about it? Perhaps there exists a better way to = achieve the same = functionality?


Will be grateful = for any assistance,
Barton
= --Apple-Mail-2--50682980-- --===============0026018714== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0026018714==--