From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Steve Prud'Homme" Subject: =?UTF-8?B?UmVzdG9yZSBhbiBhcmNoaXZlZCBzdWJ0cmVlIC0gUmVzdGF1cmF0?= =?UTF-8?B?aW9uIGQndW5lIGJyYW5jaGUgc3DDqWNpcXVlIGFyY2hpdsOpZQ==?= Date: Thu, 4 Apr 2013 01:44:09 -0400 Message-ID: <05e601ce30f7$6ed21480$4c763d80$@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_05E7_01CE30D5.E7C110C0" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNcy6-0000Uu-He for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 01:44:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNcy5-0001e5-5M for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 01:44:14 -0400 Received: from mail-ie0-x22e.google.com ([2607:f8b0:4001:c03::22e]:58153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNcy5-0001dr-0V for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 01:44:13 -0400 Received: by mail-ie0-f174.google.com with SMTP id aq17so2589155iec.5 for ; Wed, 03 Apr 2013 22:44:12 -0700 (PDT) Content-Language: fr-ca 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 This is a multipart message in MIME format. ------=_NextPart_000_05E7_01CE30D5.E7C110C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I archive with C-c C-x C-a on a .org_archive file. How can I restore a subtree. It is possible =20 Bonjour, j=92archive mes donn=E9es dans mes fichier org avec C-c C-x C-a = dans un fichier avec l=92extension .org_archive. Est-ce que c=92est possible de r=E9cup=E9rer une branche sp=E9cifique. ------=_NextPart_000_05E7_01CE30D5.E7C110C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi, I archive with C-c C-x C-a =A0on a .org_archive = file.

How can I restore a subtree. It is possible

 

Bonjour, j’archive mes donn=E9es dans mes fichier org avec C-c = C-x C-a dans un fichier avec l’extension = .org_archive.

Est-ce que c’est possible de r=E9cup=E9rer une branche = sp=E9cifique.

<= /html> ------=_NextPart_000_05E7_01CE30D5.E7C110C0-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: =?UTF-8?B?UmU6IFJlc3RvcmUgYW4gYXJjaGl2ZWQgc3VidHJlZSAtIFJlc3Rh?= =?UTF-8?B?dXJhdGlvbiBkJ3VuZSBicmFuY2hlIHNww6ljaXF1ZSBhcmNoaXbDqWU=?= Date: Thu, 04 Apr 2013 11:55:28 +0200 Message-ID: <87a9pe8vsf.fsf@bzg.ath.cx> References: <05e601ce30f7$6ed21480$4c763d80$@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNgy9-00068u-LE for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 06:00:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNgy8-0002A2-K2 for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 06:00:33 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:60728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNgy8-00029p-Dp for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 06:00:32 -0400 Received: by mail-wg0-f53.google.com with SMTP id c11so2466443wgh.8 for ; Thu, 04 Apr 2013 03:00:31 -0700 (PDT) In-Reply-To: <05e601ce30f7$6ed21480$4c763d80$@gmail.com> (Steve Prud'Homme's message of "Thu, 4 Apr 2013 01:44:09 -0400") 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: Steve Prud'Homme Cc: emacs-orgmode@gnu.org Hi Steve, "Steve Prud'Homme" writes: > Hi, I archive with C-c C-x C-a  on a .org_archive file. > > How can I restore a subtree. It is possible Right after C-c C-x C-a you can do C-/ to undo. But you cannot restore subtrees archived at arbitrary time in the past. -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer@krugs.de (Rainer M. Krug) Subject: =?UTF-8?B?UmU6IFJlc3RvcmUgYW4gYXJjaGl2ZWQgc3VidHJlZSAtIFJlc3Rh?= =?UTF-8?B?dXJhdGlvbiBkJ3VuZSBicmFuY2hlIHNww6ljaXF1ZSBhcmNoaXbDqWU=?= Date: Thu, 04 Apr 2013 12:53:05 +0200 Message-ID: <87obdur2i6.fsf@krugs.de> References: <05e601ce30f7$6ed21480$4c763d80$@gmail.com> <87a9pe8vsf.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNhnA-0001LK-Fc for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 06:53:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNhn7-0004DZ-8p for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 06:53:16 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:36304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNhn7-0004DR-2Y for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 06:53:13 -0400 Received: by mail-wi0-f172.google.com with SMTP id hr17so4550052wib.11 for ; Thu, 04 Apr 2013 03:53:12 -0700 (PDT) In-Reply-To: <87a9pe8vsf.fsf@bzg.ath.cx> (Bastien's message of "Thu, 04 Apr 2013 11:55:28 +0200") 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: Bastien Cc: emacs-orgmode@gnu.org, Steve Prud'Homme Bastien writes: > Hi Steve, > > "Steve Prud'Homme" writes: > >> Hi, I archive with C-c C-x C-a =C2=A0on a .org_archive file. >> >> How can I restore a subtree. It is possible > > Right after C-c C-x C-a you can do C-/ to undo. > > But you cannot restore subtrees archived at arbitrary time in the > past. <#secure method=3Dpgpmime mode=3Dsign> I was thinking about this also for some time, as I sometimes use the archive in literal programming to store some code chunks which I might need later again. I understand that it is not possible to store in the archive a link to the location to which the subtree should be restored as edits will change the location.=20 But what about assigning each archived subtree an ID which is stored together with the snippet in the archive file, and then put at the location in the original file a property giving the ID of the archived snippet? In this way one could=20 a) easily see what was archived from where, and b) restore the subtree to the location of the ID in the original file? I think it would be a nice little extra in the process of archiving. Cheers, Rainer --=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug