From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: BUG - Archiving to the archive sibling duplicates tasks Date: Wed, 03 Dec 2008 09:02:54 -0500 Message-ID: <87wsehfjap.fsf@gollum.intra.norang.ca> References: <87d4ga9z1k.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7sJm-0005eY-14 for emacs-orgmode@gnu.org; Wed, 03 Dec 2008 09:03:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7sJl-0005e3-G7 for emacs-orgmode@gnu.org; Wed, 03 Dec 2008 09:03:05 -0500 Received: from [199.232.76.173] (port=48503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7sJl-0005dm-7R for emacs-orgmode@gnu.org; Wed, 03 Dec 2008 09:03:05 -0500 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:58176) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L7sJk-0005S8-Mm for emacs-orgmode@gnu.org; Wed, 03 Dec 2008 09:03:04 -0500 In-Reply-To: (Carsten Dominik's message of "Wed\, 3 Dec 2008 15\:00\:42 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Thanks! I think this is probably related to similar things I've seen in the past with org-archive-subtree but didn't spend the time to reproduce back then. I'm just mentioning that in case it's relevant. -Bernt Carsten Dominik writes: > Fixed, thanks. > > - Carsten > > On Dec 2, 2008, at 8:07 PM, Bernt Hansen wrote: > >> Hi Carsten, >> >> I've found a bug with the archive process. >> >> ,----[ test.org ] >> | * One >> | ** One One >> | ** One Two >> | ** One Three >> | ** One Four >> `---- >> >> If you put the point on line 2 (The ** One One task) and then hit >> >> C-c C-x A >> >> 4 times in a row to archive the four subtasks to the archive sibling I >> get the following as a result: >> >> ,----[ test.org ] >> | * One >> | ** Archive :ARCHIVE: >> | *** One One >> | :PROPERTIES: >> | :ARCHIVE_TIME: 2008-12-02 Tue 13:57 >> | :END: >> | *** One One >> | :PROPERTIES: >> | :ARCHIVE_TIME: 2008-12-02 Tue 13:57 >> | :END: >> | *** One Two >> | *** One One >> | :PROPERTIES: >> | :ARCHIVE_TIME: 2008-12-02 Tue 13:57 >> | :END: >> | *** One Two >> | *** One Three >> | *** One One >> | :PROPERTIES: >> | :ARCHIVE_TIME: 2008-12-02 Tue 13:57 >> | :END: >> | *** One Two >> | *** One Three >> | *** One Four >> `---- >> >> with lots of duplicated entries. >> >> If I use the following sequence it works: >> >> C-c C-x A >> down arrow >> up arrow >> >> repeated 4 times and I end up with what I was expecting >> >> ,----[ test.org ] >> | * One >> | ** Archive :ARCHIVE: >> | *** One One >> | :PROPERTIES: >> | :ARCHIVE_TIME: 2008-12-02 Tue 14:00 >> | :END: >> | *** One Two >> | :PROPERTIES: >> | :ARCHIVE_TIME: 2008-12-02 Tue 14:00 >> | :END: >> | *** One Three >> | :PROPERTIES: >> | :ARCHIVE_TIME: 2008-12-02 Tue 14:00 >> | :END: >> | *** One Four >> | :PROPERTIES: >> | :ARCHIVE_TIME: 2008-12-02 Tue 14:00 >> | :END: >> `---- >> >> After the first C-c C-x A it looks like this (which is correct) >> >> ,----[ test.org ] >> | * One >> | ** One Two >> | ** One Three >> | ** One Four >> | ** Archive :ARCHIVE: >> | *** One One >> | :PROPERTIES: >> | :ARCHIVE_TIME: 2008-12-02 Tue 14:02 >> | :END: >> `---- >> >> and after the second it looks like this (which is wrong) >> >> ,----[ test.org ] >> | * One >> | ** One Three >> | ** One Four >> | ** Archive :ARCHIVE: >> | *** One One >> | :PROPERTIES: >> | :ARCHIVE_TIME: 2008-12-02 Tue 14:03 >> | :END: >> | *** One One >> | :PROPERTIES: >> | :ARCHIVE_TIME: 2008-12-02 Tue 14:03 >> | :END: >> | *** One Two >> `---- >> >> I'm running this from a minimal emacs session. I can provide the >> setup >> if you need it. >> >> $ git describe >> release_6.13a-23-g269c5a8 >> >> Thanks, >> Bernt