emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Hendrik Tews
Subject: [O] archiving in the same file always creates top-level headings
Date: Mon, 18 Jun 2018 11:07:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi,

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?

Thanks,

Hendrik



reply via email to

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