emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Proposed key binding changes: archiving and attachments
Date: Fri, 6 Nov 2009 16:56:54 +0100	[thread overview]
Message-ID: <D643D4C8-AF31-476A-BD82-712BDB31B067@uva.nl> (raw)
In-Reply-To: <AF38BF9E-2F87-4C20-903A-CE2401749CBE@gmail.com>


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 <friedel@nomaden.org>
>>                            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

  reply	other threads:[~2009-11-06 15:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-30  6:54 Proposed key binding changes: archiving and attachments Carsten Dominik
2009-10-30  9:54 ` Friedrich Delgado Friedrichs
2009-10-30 10:31   ` Peter Frings
2009-10-30 12:35     ` Bernt Hansen
2009-10-31  9:13   ` Carsten Dominik
2009-10-31 13:23     ` Bernt Hansen
2009-10-31 14:56     ` Matt Lundin
2009-10-30 11:36 ` Matt Lundin
2009-10-30 13:33   ` Carsten Dominik
2009-11-06 13:40     ` Friedrich Delgado Friedrichs
2009-11-06 15:42       ` Carsten Dominik
2009-11-06 15:56         ` Carsten Dominik [this message]
2009-11-07  1:11           ` Daniel Martins
2009-11-07  6:33             ` Carsten Dominik
2009-11-07  7:11               ` David Bremner
2009-11-07 20:50                 ` Daniel Martins
2009-11-08 18:24               ` Paul Mead
2009-11-09 10:46                 ` Friedrich Delgado Friedrichs
2009-11-09 21:07                 ` Carsten Dominik
2009-10-30 13:58   ` Detlef Steuer
2009-10-30 17:54 ` Leo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D643D4C8-AF31-476A-BD82-712BDB31B067@uva.nl \
    --to=dominik@uva.nl \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).