emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* agenda dispatcher - show different sets of deadlines - dispatch by string instead only by char
@ 2007-07-24 16:39 Rainer Stengele
  2007-07-26  8:29 ` Rainer Stengele
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer Stengele @ 2007-07-24 16:39 UTC (permalink / raw)
  To: emacs-orgmode

I am able to define a agenda custom command like this:

(setq org-agenda-custom-commands
      '(("d" agenda "X-Agenda 0 days deadline preview"
         ((org-deadline-warning-days 0)))

which means "get me the agenda without any deadlines"


I would also be able to get the agenda with maybe 3 days looking into the future for deadlines.
So I could:

(setq org-agenda-custom-commands
      '(("d" agenda "X-Agenda 0 days deadline preview"
         ((org-deadline-warning-days 0))
        ("e" agenda "X-Agenda 3 days deadline preview"
         ((org-deadline-warning-days 3)))

and so on.


I would like to be able to dispatch with a short string instead of only a character:
example:


(setq org-agenda-custom-commands
      '(("D0" agenda "X-Agenda 0 days deadline preview"
         ((org-deadline-warning-days 0))
        ("D3" agenda "X-Agenda 3 days deadline preview"
         ((org-deadline-warning-days 3))
        ("D7" agenda "X-Agenda 7 days deadline preview"
         ((org-deadline-warning-days 7))))


I recognise that at the moment only single characters are allowed for the dispatcher.
I am not (yet) able to modify org.el so that this will work.

Anybody with similar wishes? Anybody want to help me before Carsten comes back and tells what he thinks?
Thanks.


rainer

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-26  9:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-24 16:39 agenda dispatcher - show different sets of deadlines - dispatch by string instead only by char Rainer Stengele
2007-07-26  8:29 ` Rainer Stengele
2007-07-26  9:03   ` Bastien

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).