emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] archiving in the same file always creates top-level headings


From: Nicolas Goaziou
Subject: Re: [O] archiving in the same file always creates top-level headings
Date: Tue, 19 Jun 2018 08:43:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

Hendrik Tews <address@hidden> writes:

> when I have this file
>
> =================== cut =======================
> * A
> ** B
> ** C
> =================== cut =======================
>
> and set org-archive-location to "::* Archived Tasks", as
> recommended in the documentation of this variable. Then, after
> doing C-c C-x C-a (org-archive-subtree-default) both on B and on
> C, I get
>
> =================== cut =======================
> * A
> * Archived Tasks
>
> ** B...
>
> * Archived Tasks
>
> ** C...
> =================== cut =======================
>
> while I would have expected
>
> =================== cut =======================
> * A
> * Archived Tasks
> ** B...
> ** C...
> =================== cut =======================
>
> (only one Archived Tasks heading).
>
> Is it really intended that org-archive-subtree-default inserts
> the heading, even if it does already exist?

No, it is a bug, already reported here:
<http://lists.gnu.org/r/emacs-orgmode/2018-06/msg00056.html>

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]