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



_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to