emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Barton <abubious@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Custom agenda view - filter by priority AND scheduled date
Date: Wed, 28 Apr 2010 16:36:16 +0300	[thread overview]
Message-ID: <1AF02DE7-68B8-4CD2-A17A-66F8D762910E@gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1081 bytes --]

	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))) 
          (tags-todo "+PRIORITY=\"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

[-- Attachment #1.2: Type: text/html, Size: 1945 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

             reply	other threads:[~2010-04-28 13:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-28 13:36 Barton [this message]
2010-04-28 17:19 ` Custom agenda view - filter by priority AND scheduled date Matt Lundin
2010-04-28 17:30   ` Barton

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=1AF02DE7-68B8-4CD2-A17A-66F8D762910E@gmail.com \
    --to=abubious@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).