* Restore an archived subtree - Restauration d'une branche spécique archivée
@ 2013-04-04 5:44 Steve Prud'Homme
2013-04-04 9:55 ` Bastien
0 siblings, 1 reply; 3+ messages in thread
From: Steve Prud'Homme @ 2013-04-04 5:44 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 297 bytes --]
Hi, I archive with C-c C-x C-a on a .org_archive file.
How can I restore a subtree. It is possible
Bonjour, jarchive mes données dans mes fichier org avec C-c C-x C-a dans un
fichier avec lextension .org_archive.
Est-ce que cest possible de récupérer une branche spécifique.
[-- Attachment #2: Type: text/html, Size: 2612 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Restore an archived subtree - Restauration d'une branche spécique archivée
2013-04-04 5:44 Restore an archived subtree - Restauration d'une branche spécique archivée Steve Prud'Homme
@ 2013-04-04 9:55 ` Bastien
2013-04-04 10:53 ` Rainer M. Krug
0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2013-04-04 9:55 UTC (permalink / raw)
To: Steve Prud'Homme; +Cc: emacs-orgmode
Hi Steve,
"Steve Prud'Homme" <sprudhom@gmail.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Restore an archived subtree - Restauration d'une branche spécique archivée
2013-04-04 9:55 ` Bastien
@ 2013-04-04 10:53 ` Rainer M. Krug
0 siblings, 0 replies; 3+ messages in thread
From: Rainer M. Krug @ 2013-04-04 10:53 UTC (permalink / raw)
To: Bastien; +Cc: emacs-orgmode, Steve Prud'Homme
Bastien <bzg@altern.org> writes:
> Hi Steve,
>
> "Steve Prud'Homme" <sprudhom@gmail.com> 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.
<#secure method=pgpmime mode=sign>
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.
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
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
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-04 10:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04 5:44 Restore an archived subtree - Restauration d'une branche spécique archivée Steve Prud'Homme
2013-04-04 9:55 ` Bastien
2013-04-04 10:53 ` Rainer M. Krug
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).