From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Proposed key binding changes: archiving and attachments Date: Sat, 31 Oct 2009 10:13:40 +0100 Message-ID: <65069A69-7B04-41F5-BAB2-05C0810E9CBD@gmail.com> References: <20091030095458.GA4675@taupan.ath.cx> 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 1N4A29-0003eF-MS for emacs-orgmode@gnu.org; Sat, 31 Oct 2009 05:14:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4A24-0003bw-VO for emacs-orgmode@gnu.org; Sat, 31 Oct 2009 05:14:05 -0400 Received: from [199.232.76.173] (port=60764 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4A24-0003bn-Ov for emacs-orgmode@gnu.org; Sat, 31 Oct 2009 05:14:00 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:58339) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N4A24-0003u8-Ap for emacs-orgmode@gnu.org; Sat, 31 Oct 2009 05:14:00 -0400 Received: by ewy7 with SMTP id 7so1583050ewy.31 for ; Sat, 31 Oct 2009 02:13:59 -0700 (PDT) In-Reply-To: <20091030095458.GA4675@taupan.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: friedel@nomaden.org Cc: emacs-orgmode@gnu.org OK, here is what I have now settled for, effective immediately: The following keys now do archiving C-c C-x C-a archive using the command specified in `org-archive-default-command' This variable is by default set to `org-archive-subtree', which means arching to the archive file. The three specific archiving commands are available through C-c C-x C-s archive to archive file C-c C-x a toggle the archive tag C-c C-x A move to archive sibling These bindings work the same in an Org file, and in the agenda. In addition: - In the agenda you can also use `a' to call the default archiving command, but you need to confirm the command with `y' so that this cannot easily happen by accident. - For backward compatibility, `C-c $' in an org-mode file, and `$' in the agenda buffer continue to archive to archive file. Can we agree on this? - Carsten On Oct 30, 2009, at 10:54 AM, Friedrich Delgado Friedrichs wrote: > Hi! > > Carsten Dominik schrieb: >> 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. > > That seems like a good idea. > >> 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 > > No problems here for me. The keys I use most often are still at their > previous bindings. > >> In the agenda >> a archive with org-archive-default-command > > If that hit me by surprise there would be some cussing involved, I > guess. What's the planned default for org-archive-default-command? If > I get a fair warning I'd set it to org-toggle-archive-tag. > >> I am wondering how much resistance such a change would create. > ---Zitatende--- > > Not too much, I guess. > > -- > Friedrich Delgado Friedrichs > TauPan on Ircnet and Freenode ;) > > > _______________________________________________ > 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 - Carsten