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 <address@hidden>
TauPan on Ircnet and Freenode ;)
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode