From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: FR: more flexible customization of org-agenda-custom-commands key bindings Date: Tue, 30 Oct 2007 07:06:03 +0100 Message-ID: References: <20071016162042.GC3018@atlantic.linksys.moosehall> <20071016163623.GG3018@atlantic.linksys.moosehall> <878x60ivz9.fsf@bzg.ath.cx> <20071027134036.GG10118@atlantic.linksys.moosehall> <87ir4r2tdt.fsf@bzg.ath.cx> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImmRB-0007QX-DF for emacs-orgmode@gnu.org; Tue, 30 Oct 2007 04:27:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImmRA-0007PW-NT for emacs-orgmode@gnu.org; Tue, 30 Oct 2007 04:27:00 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImmRA-0007PK-Dl for emacs-orgmode@gnu.org; Tue, 30 Oct 2007 04:27:00 -0400 Received: from nf-out-0910.google.com ([64.233.182.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ImmRA-0002om-3A for emacs-orgmode@gnu.org; Tue, 30 Oct 2007 04:27:00 -0400 Received: by nf-out-0910.google.com with SMTP id f5so1728348nfh for ; Tue, 30 Oct 2007 01:26:58 -0700 (PDT) In-Reply-To: <87ir4r2tdt.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org On 28Oct2007, at 3:42 PM, Bastien wrote: > Adam Spiers 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'. This is not possible, because the prefix argument is needed to be passed to the command that is executed by the "r" command. > > 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. We could use "e" for "execute agenda command"? > >> 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. I do agree with the last two, "g" should indeed be the refresh command. However, I'm hesitating to change the "r" binding, I believe that many people (including me) are too used to this key binding. - Carsten