From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Proposed key binding changes: archiving and attachments Date: Fri, 30 Oct 2009 14:33:32 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3rbt-00049K-UX for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 09:33:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3rbn-00046o-GG for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 09:33:44 -0400 Received: from [199.232.76.173] (port=59344 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3rbm-00046V-TG for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 09:33:39 -0400 Received: from ey-out-1920.google.com ([74.125.78.145]:21810) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N3rbm-0003rF-Fa for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 09:33:38 -0400 Received: by ey-out-1920.google.com with SMTP id 3so3451874eyh.34 for ; Fri, 30 Oct 2009 06:33:37 -0700 (PDT) In-Reply-To: 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: Matt Lundin Cc: emacs-orgmode list On Oct 30, 2009, at 12:36 PM, Matt Lundin wrote: > Hi Carsten, > > Carsten Dominik writes: > >> Hi everyone, >> >> I would like to change some key bindings related to archiving, >> and this change will also affect the access key for attachments. >> >> The main reason is that I think there should be a single default key >> for archiving, and that the user sets a variable to decide what the >> default >> archiving method should be. I would like this key to be `C-c C-a' >> which >> is why the org-attach key would have to move as well. >> >> Here is my proposal: >> >> In Org-mode files >> ----------------- >> >> C-c C-a archive default (setq by org-archive-default-command) >> C-c C-x C-s org-archive-subtree (C-c $ remains valid as well) >> C-c C-x a org-toggle-archive-tag >> C-c C-x A org-archive-to-archive-sibling >> >> C-c C-x C-a attach > > Since I've taken to using attachments quite a bit, I would most likely > restore the current keybindings in my own settings. > > My chief concern with mapping archiving to C-c C-a is that it is too > close to the conventional keybinding for org-agenda (C-c a). With the > proposed keybindings, I fear it might be too easy to introduce drastic > changes in a file accidentally. (E.g., I sometimes hit C-c C-a when I > intend to hit C-c a and vice versa.) > >> >> In the agenda >> ------------- >> a archive with org-archive-default-command >> C-c C-a same as a >> C-c C-x a org-toggle-archive-tag >> C-c C-x A org-archive-to-archive-sibling >> C-c C-x C-s org-archive-subtree ($ remains valid as well) > > Again, I would prefer that C-c C-a remain bound to org-attach. > > I currently unbind "a" (org-toggle-archive-tag) in the agenda. In the > past, items often mysteriously disappeared from my agenda view. I > discovered the cause: I was occasionally hitting "a" by accident. > > I agree with Peter that commands with relatively destructive > consequences (such as archiving) should not be bound to a single key. > One wouldn't want to miss an appointment because one accidentally hits > "a" in the agenda. :) These are convincing arguments from you all, so I will leave things as they are, except that I will make "a" in the agenda prompt for [y]es and then do the archiving, using the default archiving command. So archiving from the agenda will then be `a y'. - Carsten > > Thanks for giving us the chance to provide feedback on these proposed > changes. Well, I just learned again how important this is. Thanks for chiming in > > - Matt > >> >> >> I am wondering how much resistance such a change would create. >> >> Comments? >> >> - Carsten - Carsten