[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: Archiving creates multiple parent tasks in master [9.1.13 (rele
From: |
Bernt Hansen |
Subject: |
[O] Bug: Archiving creates multiple parent tasks in master [9.1.13 (release_9.1.13-787-g13a09b @ c:/D-Drive/bin/org-mode/lisp/)] |
Date: |
Wed, 06 Jun 2018 14:08:58 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi,
Archiving tasks using the master branch with the below configuration
creates duplicate "* Archived Tasks" heading each time you archive in
the test.org_archive file.
The behaviour in the maint branch is correct and files subsequently
archived tasks under the single main heading.
Thanks for org-mode!
Regards,
Bernt
-- test.el -------------------------------------------------------------
(setq org-archive-location "%s_archive::* Archived Tasks")
-- test.org ------------------------------------------------------------
#+FILETAGS: TEST
#+STARTUP: content
*Keys To Reproduce*
1) Move to next heading
C-c C-n
2) Move to next heading
C-c C-n
3) Archive heading
C-c C-x C-a
4) Archive heading
C-c C-x C-a
Results in test.org_archive:
maint branch produces (correct)
#+BEGIN_EXAMPLE
* Archived Tasks
** TODO do something
** TODO foo :BAR:
#+END_EXAMPLE
master branch produces (incorrect)
#+BEGIN_EXAMPLE
* Archived Tasks
** TODO do something
* Archived Tasks
** TODO foo :BAR:
#+END_EXAMPLE
* TODO Test Parent :PRODUCTION:MISC:
:PROPERTIES:
:EFFORT: 15:30
:END:
** TODO do something
:PROPERTIES:
:EFFORT: 15
:END:
:LOGBOOK:
CLOCK: [2018-05-12 Sat 00:26]--[2018-05-12 Sat 00:26] => 0:00
CLOCK: [2018-05-12 Sat 00:23]--[2018-05-12 Sat 00:23] => 0:00
CLOCK: [2018-05-12 Sat 00:22]--[2018-05-12 Sat 00:22] => 0:00
CLOCK: [2018-05-12 Sat 00:22]--[2018-05-12 Sat 00:22] => 0:00
CLOCK: [2018-05-12 Sat 00:07]--[2018-05-12 Sat 00:08] => 0:01
CLOCK: [2018-05-12 Sat 00:00]--[2018-05-12 Sat 00:04] => 0:04
:END:
** TODO foo :BAR:
:PROPERTIES:
:EFFORT: 00:30
:END:
------------------------------------------------------------------------
Emacs : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1)
of 2013-01-08 on murphy, modified by Debian
Package: Org-mode version 8.3.1 (release_8.3.1-54-g102def @
/home/bernt/git/org-mode/lisp/)
- [O] Bug: Archiving creates multiple parent tasks in master [9.1.13 (release_9.1.13-787-g13a09b @ c:/D-Drive/bin/org-mode/lisp/)],
Bernt Hansen <=