emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] FR: more flexible customization of org-agenda-custom-comma


From: Bastien
Subject: Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings
Date: Wed, 17 Oct 2007 14:03:22 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

Adam Spiers <address@hidden> writes:

> Another approach, and this is my personal preference, would be to
> allow "sub-keymaps", so that e.g. I could press C-c C-a s and it would
> present me with a further menu of single keystrokes bound to custom
> agenda commands:
>
>    C-c C-a s 1    search for :sub10:  (10 minute tasks)
>    C-c C-a s 2    search for :sub120: (2 hour tasks)
>    C-c C-a s 3    search for :sub30:  (30 minute tasks)
>    C-c C-a s 4    search for :sub40:  (4 hour tasks)

Thinking of this again: you *already* have such a sub-keymap.

(setq org-agenda-custom-commands
      '(("." todo "INPROGRESS" nil)
        ("!" todo "NEXT" nil 
("/home/guerry/public_html/org/homepage/next.html"))
        ("$" tags-todo "Check" nil)
        ("*" tags-todo "Mail" nil)
        [...]
        ("ê" tags-todo "Read/NEXT" nil)
        ("ô" tags-todo "Read/TODO" nil)
        ("î" tags-todo "Read/INPROGRESS" nil)
        ("ĉ" tags-todo "Read/CANCELED" nil)))

Here I use the deadkey `^' as a sub-keymap for the "Read" tag:

   C-c C-a ^ e    search for "Read/NEXT"
   C-c C-a ^ o    search for "Read/TODO"
   C-c C-a ^ i    search for "Read/INPROGRESS"
   C-c C-a ^ c    search for "Read/CANCELED"

:)

(Okay, this is just a workaround but still.)

-- 
Bastien




reply via email to

[Prev in Thread] Current Thread [Next in Thread]