From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: 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 Message-ID: <87o9gnpz2d.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQcry-0006ib-Em for emacs-orgmode@gnu.org; Wed, 06 Jun 2018 14:09:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQcrv-0007Ag-2Y for emacs-orgmode@gnu.org; Wed, 06 Jun 2018 14:09:14 -0400 Received: from outbound1b.ore.mailhop.org ([54.200.247.200]:15130) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fQcru-00071b-Rd for emacs-orgmode@gnu.org; Wed, 06 Jun 2018 14:09:10 -0400 Received: from localhost.localdomain (gollum.intra.norang.ca [192.168.1.5]) by mail.norang.ca (8.14.4/8.14.4/Debian-4) with ESMTP id w56I8wmP021050 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 6 Jun 2018 14:08:59 -0400 Received: from localhost.localdomain (gollum [127.0.0.1]) by localhost.localdomain (8.14.3/8.14.3/Debian-9.4) with ESMTP id w56I8wlO000441 for ; Wed, 6 Jun 2018 14:08:58 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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/)