[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] FR: more flexible customization of org-agenda-custom-comma
From: |
Adam Spiers |
Subject: |
Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings |
Date: |
Wed, 17 Oct 2007 15:04:12 +0100 |
User-agent: |
Mutt/1.5.14 (2007-02-12) |
On Wed, Oct 17, 2007 at 02:03:22PM +0100, Bastien wrote:
> 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.)
Heh, cute trick :-) But it only provides one sub-keymap, and one
which is slightly awkward to type.
- Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings, (continued)
- Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings, Adam Spiers, 2007/10/16
- Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings, Carsten Dominik, 2007/10/18
- Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings, Bastien, 2007/10/18
- Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings, Adam Spiers, 2007/10/27
- Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings, Bastien, 2007/10/28
- Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings, Carsten Dominik, 2007/10/30
- Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings, Adam Spiers, 2007/10/30
- Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings, Bastien, 2007/10/30
Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings, Bastien, 2007/10/16
Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings, Bastien, 2007/10/17
- Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings,
Adam Spiers <=
Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings, Carsten Dominik, 2007/10/18