* archiving in the same file always creates top-level headings
@ 2018-06-18 9:07 Hendrik Tews
2018-06-19 6:43 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Hendrik Tews @ 2018-06-18 9:07 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: archiving in the same file always creates top-level headings
2018-06-18 9:07 archiving in the same file always creates top-level headings Hendrik Tews
@ 2018-06-19 6:43 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2018-06-19 6:43 UTC (permalink / raw)
To: Hendrik Tews; +Cc: emacs-orgmode
Hello,
Hendrik Tews <hendrik@askra.de> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-19 6:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-18 9:07 archiving in the same file always creates top-level headings Hendrik Tews
2018-06-19 6:43 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.