[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: |
Bastien |
Subject: |
Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings |
Date: |
Sun, 28 Oct 2007 14:42:06 +0000 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) |
Adam Spiers <address@hidden> writes:
>> If the idea is just to re-display the *Org agenda* buffer
>
> Correct. It's effectively a more generic version of "Press `C-u r' to
> search again with new search string".
So why not just make `C-u r' call the *agenda commands* buffer back when
the current agenda view is produced by (org-agenda-list)?
Then `C-u r' will have the same meaning across all possible types of
agenda views, i.e. call `org-agenda-redo' and wait for more information
on how to refine the current view. Which means: call back `org-agenda'
if the last command was `org-agenda-list'.
>> C-x b RET is enough most of the times.
>
> That defaults to the wrong buffer for me, maybe because I'm using
> ido.el. For me, it's important that it be bound to a single keystroke
> rather than a chord, since I want to be able to iterate over steps
> 2--5 many times and rapidly.
I think it will be hard to have a simpler keystroke than `C-x b' :)
But anyway, I guess your point is to have some Org internal command for
this function -- which would also avoid the problem with ido.el.
> I can't think of a good mnemonic for binding any of these to this
> operation. My preferred solution would be the following, though I
> would understand if it was rejected on the grounds of being too
> disruptive to what users are used to:
>
> - rebind 'r' to this operation, since 'redo' or 'repeat' is the most
> obvious mnemonic,
>
> - rebind 'g' to `org-agenda-redo', since 'g' is a universal emacs
> keybinding meaning 'refresh the current buffer display', and
>
> - bind 'G' to `org-agenda-toggle-time-grid', since this is a less
> frequent operation and hence can be moved to the chord "shift-G"
> without causing hassle.
To combine your suggestion with mine, it would be:
- rebind 'r' to the actual behavior of `C-u r', and make this available
for all types of agenda views.
- rebind 'g' to refresh and 'G' to `org-agenda-toggle-time-grid'.
>> But I think the idea was to process commands of the same kind
>> (i.e. belonging to the same sub-keymap) quickly.
>
> Nothing so advanced :-) But if the above solution were to be
> implemented, repeatedly rerunning a mix of sub-keymap and normal
> custom commands would be trivial, e.g. to use your example:
... Except that in my proposal, `r' would not simply call `org-agenda'
again (I think C-c a is simple enough) but rather let you recall the
last agenda command (either `org-agenda-list' or `org-todo-list' etc.)
and ask for more information (just like `C-u r' does for some agenda
types.
--
Bastien
- [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, 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 <=
- 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, Carsten Dominik, 2007/10/18