emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Daniel Martins <danielemc@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Proposed key binding changes: archiving and attachments
Date: Sat, 7 Nov 2009 07:33:30 +0100	[thread overview]
Message-ID: <C5502955-4A37-4429-A291-4BC62BEA199C@uva.nl> (raw)
In-Reply-To: <6ac505ad0911061711j9fcc5en4dc4b2e013c5f68e@mail.gmail.com>


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 <dominik@uva.nl>:
>>
>> 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
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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

  reply	other threads:[~2009-11-07  6:33 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
2009-11-07  1:11           ` Daniel Martins
2009-11-07  6:33             ` Carsten Dominik [this message]
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=C5502955-4A37-4429-A291-4BC62BEA199C@uva.nl \
    --to=dominik@uva.nl \
    --cc=danielemc@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).