From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: agenda dispatcher - show different sets of deadlines - dispatch by string instead only by char Date: Tue, 24 Jul 2007 18:39:29 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IDNQM-0008FN-CW for emacs-orgmode@gnu.org; Tue, 24 Jul 2007 12:39:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IDNQK-0008Em-QN for emacs-orgmode@gnu.org; Tue, 24 Jul 2007 12:39:49 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDNQK-0008EZ-NY for emacs-orgmode@gnu.org; Tue, 24 Jul 2007 12:39:48 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IDNQK-00082k-8D for emacs-orgmode@gnu.org; Tue, 24 Jul 2007 12:39:48 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IDNQB-0001xd-Vh for emacs-orgmode@gnu.org; Tue, 24 Jul 2007 18:39:40 +0200 Received: from 212.34.176.74 ([212.34.176.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jul 2007 18:39:39 +0200 Received: from rainer.stengele by 212.34.176.74 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jul 2007 18:39:39 +0200 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 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