emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marc-Oliver Ihm <ihm@online.de>
To: emacs-orgmode@gnu.org
Subject: Re: Archiving only with confirmation
Date: Sat, 03 Mar 2012 19:14:49 +0100	[thread overview]
Message-ID: <4F525F99.9080702@online.de> (raw)
In-Reply-To: <4F523ED2.2080307@mgrebenstein.de>

Am 03.03.2012 16:54, schrieb Markus Grebenstein:
> Dear List,
>
> from time to time I involuntarily archive parts of my thesis when I want to save (it happens
> when I mess up the saving keys). Since I recognized this a couple of days or even weeks later
> this makes recovering complicated.
>
> Therefore I would love to have the possibility to be asked whether I really want to do that. I
> used org-archive-subtree-default-with-confirmation but I did not get what the meaning of that
> one is. When I use that command I am sure that I want to archive and as far as I see it does not
> change the default behavior.
>
> Does anybody have an idea how to achieve what I want?
> Thanks in advance,
>
> Markus
>
>
>

Hi Markus,

Maybe

	M-x disable-command

could help.

It will ask you for the command you would like to disable (in your case probably 
"org-archive-subtree")
and modify your .emacs accordingly.

You could reach the same effect by putting:

	(put 'org-archive-subtree 'disabled t)

in your initialization-file (if it is not .emacs).

I think I will try this too, because I remember some occasions,
that I have used it accidentially like you ...

with kind regards, Marc

      parent reply	other threads:[~2012-03-03 18:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-03 15:54 Archiving only with confirmation Markus Grebenstein
2012-03-03 17:50 ` cberry
2012-03-03 18:14 ` Marc-Oliver Ihm [this message]

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=4F525F99.9080702@online.de \
    --to=ihm@online.de \
    --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).