emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: Archiving creates multiple parent tasks in master [9.1.13 (


From: Nicolas Goaziou
Subject: Re: [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: Tue, 19 Jun 2018 13:47:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

Bernt Hansen <address@hidden> writes:

> 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:

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



reply via email to

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