From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: 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 [thread overview]
Message-ID: <87a7rrf16j.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87o9gnpz2d.fsf@norang.ca> (Bernt Hansen's message of "Wed, 06 Jun 2018 14:08:58 -0400")
Hello,
Bernt Hansen <bernt@norang.ca> 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
next prev parent reply other threads:[~2018-06-19 11:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-06 18:08 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
2018-06-19 11:47 ` Nicolas Goaziou [this message]
2018-06-19 13:18 ` Bernt Hansen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a7rrf16j.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).