|
From: | Rainer Stengele |
Subject: | [Orgmode] agenda dispatcher - show different sets of deadlines - dispatch by string instead only by char |
Date: | Tue, 24 Jul 2007 18:39:29 +0200 |
User-agent: | Thunderbird 2.0.0.4 (Windows/20070604) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |