From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc-Oliver Ihm Subject: Re: Archiving only with confirmation Date: Sat, 03 Mar 2012 19:14:49 +0100 Message-ID: <4F525F99.9080702@online.de> References: <4F523ED2.2080307@mgrebenstein.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3tU6-0005hy-N2 for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 13:15:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3tU5-0001ee-2i for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 13:15:10 -0500 Received: from plane.gmane.org ([80.91.229.3]:33507) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3tU4-0001eF-Ra for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 13:15:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S3tTy-0000Od-V6 for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 19:15:02 +0100 Received: from p54a89965.dip0.t-ipconnect.de ([84.168.153.101]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Mar 2012 19:15:02 +0100 Received: from ihm by p54a89965.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Mar 2012 19:15:02 +0100 In-Reply-To: <4F523ED2.2080307@mgrebenstein.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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