From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Proposed key binding changes: archiving and attachments Date: Sat, 7 Nov 2009 07:33:30 +0100 Message-ID: References: <20091106134034.GA7997@taupan.ath.cx> <6ac505ad0911061711j9fcc5en4dc4b2e013c5f68e@mail.gmail.com> 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 1N6ero-0000XJ-O0 for emacs-orgmode@gnu.org; Sat, 07 Nov 2009 01:33:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6eri-0000TU-Vx for emacs-orgmode@gnu.org; Sat, 07 Nov 2009 01:33:43 -0500 Received: from [199.232.76.173] (port=55252 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6eri-0000T9-O7 for emacs-orgmode@gnu.org; Sat, 07 Nov 2009 01:33:38 -0500 Received: from pony.ic.uva.nl ([145.18.40.181]:33281) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N6eri-0005AB-8f for emacs-orgmode@gnu.org; Sat, 07 Nov 2009 01:33:38 -0500 In-Reply-To: <6ac505ad0911061711j9fcc5en4dc4b2e013c5f68e@mail.gmail.com> 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: Daniel Martins Cc: emacs-orgmode@gnu.org On Nov 7, 2009, at 2:11 AM, Daniel Martins wrote: > Why not a single A e.g. > > A org-archive-to-archive-sibling > > instead of > C-c C-x A org-archive-to-archive-sibling > > > I use org-archive-to-archive-sibling > alot to diminish my organizer.org and a silge and simple key A (or > Shift-a) it would be good. If this is your default archiving method, the idea would be that you set (setq org-archive-default-command 'org-archive-to-archive-sibling) and then use `a y' to do the archiving. I actually think that few people use archiving to sibling. Am I wrong about this? The reason why I don't have single letter commands for archiving in the agenda without confirmation is that archiving i potentially destructive. - Carsten > > Daniel > > > 2009/11/6 Carsten Dominik : >> >> On Nov 6, 2009, at 4:42 PM, Carsten Dominik wrote: >> >>> >>> On Nov 6, 2009, at 2:40 PM, Friedrich Delgado Friedrichs wrote: >>> >>>> Now that I've hit the update, I've noticed two things: >>>> >>>> C-c C-x C-a unexpectedly moved a tree to an archive file. Seems I >>>> didn't >>>> really pay a lot attention to the discussion, so I simply set >>>> org-archive-default-command to my preferred value org-toggle- >>>> archive-tag. >>>> >>>> Now in the agenda 'a' asked for confirmation, which is as >>>> discussed, but >>>> I'm not really happy with this, because I had to remap "a" in >>>> org-agenda-keymap (and then I learned that it's different from >>>> org-agenda-mode-map, which I didn't know) to org-agenda-archive- >>>> default. >>>> >>>> If someone upgrades to the next release of org-mode, wouldn't it >>>> offer a >>>> smoother migration path to: >>>> >>>> - set org-archive-default-command to something that asks for >>>> confirmation >>>> and reminds the user that he can set it to another value, to get >>>> rid of the >>>> question >>>> - and then use this command for both C-c C-x C-a in files and 'a' >>>> in the >>>> agenda? >>>> >>>> That way the user gets reminded before he breaks something, but >>>> only has >>>> to customise things once. >>>> >>>> Just an idea. >>> >>> That is an idea, but with the fast update schedule of Org, this >>> would >>> quickly lead to a big mess in prompts and settings to be made, so I >>> do not think this is practical. >>> >>> The issue with org-agenda-keymap and org-agenda-mode-map has to >>> do with the mouse - maybe this is not really necessary - I made >>> this when >>> I did not really understand keymaps very well, a looong time ago. >>> I'll take >>> another look. >> >> I think I can get rid of this variable, and I just did, so now >> there is only >> org-agenda-mode-map (org-agenda-keymap remains as an alias, so that >> bindings >> in this map will still work.) >> >> I am pushing it out, we will see if it breaks something. But I do >> not >> expect problems. >> >> - Carsten >> >>> >>> - Carsten >>> >>>> >>>> (Sorry for the long lines, I'm writing this in vi, because emacs on >>>> homebox isn't running... long story.) >>>> >>>> Carsten Dominik schrieb: >>>>> >>>>> 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'. >>>> >>>> -- >>>> 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 >>> >>> >>> >> >> - Carsten >> >> >> >> >> >> _______________________________________________ >> 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