Adam Spiers <[EMAIL PROTECTED]> 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


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to