* different achiving mode
@ 2013-11-25 8:09 David Belohrad
2014-01-04 14:47 ` Bastien
0 siblings, 1 reply; 4+ messages in thread
From: David Belohrad @ 2013-11-25 8:09 UTC (permalink / raw)
To: emacs-orgmode
Dear All,
for a certain time I'm using ordinary archiving. I.e. moving DONE marked
tags to archive file. For this I'm using
(org-advertized-archive-subtree &optional FIND-DONE)
with shortcut C-u C-c C-x C-s, hence it will find all DONE items and
move them to archive.
I have a trouble with 'how' the items are moved. If I look into archive,
the hiearchy is 'flattened'. What I'd like to see there is the same
hierarchy as I have in the original file, the same tags, but with
ARCHIVE tag added (eventually having entire file marked with ARCHIVE
tag).
Is there any already done function leading to desired behaviour? (or
eventually any hint how to achieve this)
My project trees have sometimes even 8 levels of hierarchy, and if they
are archived, it becomes a total mess to look after something.
thanks.
david
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: different achiving mode
2013-11-25 8:09 different achiving mode David Belohrad
@ 2014-01-04 14:47 ` Bastien
2014-01-04 22:39 ` David Belohrad
0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2014-01-04 14:47 UTC (permalink / raw)
To: David Belohrad; +Cc: emacs-orgmode
Hi David,
David Belohrad <david@belohrad.ch> writes:
> for a certain time I'm using ordinary archiving. I.e. moving DONE marked
> tags to archive file. For this I'm using
>
> (org-advertized-archive-subtree &optional FIND-DONE)
>
> with shortcut C-u C-c C-x C-s, hence it will find all DONE items and
> move them to archive.
>
> I have a trouble with 'how' the items are moved. If I look into archive,
> the hiearchy is 'flattened'. What I'd like to see there is the same
> hierarchy as I have in the original file, the same tags, but with
> ARCHIVE tag added (eventually having entire file marked with ARCHIVE
> tag).
Mhh... I don't see how we could not flatten the hierarchy in some
circumstances.
For example:
* TODO Headline
** DONE Task
If you want to archive the DONE Task to another file, you cannot
archive the TODO Headline with it.
Or maybe I didn't understand your use-case correctly.
Best,
--
Bastien
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: different achiving mode
2014-01-04 14:47 ` Bastien
@ 2014-01-04 22:39 ` David Belohrad
2014-01-05 23:12 ` Alexander Baier
0 siblings, 1 reply; 4+ messages in thread
From: David Belohrad @ 2014-01-04 22:39 UTC (permalink / raw)
To: Bastien; +Cc: emacs-orgmode
Hi Bastien,
learning recently new things about org mode i think i have requested a
bullshit. Basically the idea was to somehow 'retain' the project tree,
or at least be able to restore its form from archive when needed. Seeing
complexity of this, it does not look like something easy to implement...
.d.
Bastien <bzg@gnu.org> writes:
> Hi David,
>
> David Belohrad <david@belohrad.ch> writes:
>
>> for a certain time I'm using ordinary archiving. I.e. moving DONE marked
>> tags to archive file. For this I'm using
>>
>> (org-advertized-archive-subtree &optional FIND-DONE)
>>
>> with shortcut C-u C-c C-x C-s, hence it will find all DONE items and
>> move them to archive.
>>
>> I have a trouble with 'how' the items are moved. If I look into archive,
>> the hiearchy is 'flattened'. What I'd like to see there is the same
>> hierarchy as I have in the original file, the same tags, but with
>> ARCHIVE tag added (eventually having entire file marked with ARCHIVE
>> tag).
>
> Mhh... I don't see how we could not flatten the hierarchy in some
> circumstances.
>
> For example:
>
> * TODO Headline
> ** DONE Task
>
> If you want to archive the DONE Task to another file, you cannot
> archive the TODO Headline with it.
>
> Or maybe I didn't understand your use-case correctly.
>
> Best,
>
> --
> Bastien
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: different achiving mode
2014-01-04 22:39 ` David Belohrad
@ 2014-01-05 23:12 ` Alexander Baier
0 siblings, 0 replies; 4+ messages in thread
From: Alexander Baier @ 2014-01-05 23:12 UTC (permalink / raw)
To: David Belohrad; +Cc: Bastien, emacs-orgmode
On 2014-01-04 23:39 David Belohrad wrote:
> Hi Bastien,
>
> learning recently new things about org mode i think i have requested a
> bullshit. Basically the idea was to somehow 'retain' the project tree,
> or at least be able to restore its form from archive when needed. Seeing
> complexity of this, it does not look like something easy to implement...
>
> .d.
[...]
If you do not mind having archived subtrees in your org file, you could
just use C-c C-x a, which only tags the tree at point with :ARCHIVE: and
excludes those from beeing cycled with TAB. This way you would keep your
original structure.
HTH,
--
Alexander Baier
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-01-05 23:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-25 8:09 different achiving mode David Belohrad
2014-01-04 14:47 ` Bastien
2014-01-04 22:39 ` David Belohrad
2014-01-05 23:12 ` Alexander Baier
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).