From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EAQlIfmjWF/FYAAA0tVLHw (envelope-from ) for ; Wed, 09 Sep 2020 09:44:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gKwQHfmjWF/CQwAA1q6Kng (envelope-from ) for ; Wed, 09 Sep 2020 09:44:25 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DCCDF9403D2 for ; Wed, 9 Sep 2020 09:44:24 +0000 (UTC) Received: from localhost ([::1]:51148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFweN-0002jE-9g for larch@yhetil.org; Wed, 09 Sep 2020 05:44:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFwe1-0002i8-1A for emacs-orgmode@gnu.org; Wed, 09 Sep 2020 05:44:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58674) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFwe0-0007Gz-KS; Wed, 09 Sep 2020 05:44:00 -0400 Received: from [2a01:e35:2fe1:f780:c5e2:3782:b02e:7710] (port=45846 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1kFwe0-0007gV-An; Wed, 09 Sep 2020 05:44:00 -0400 Received: by guerry (Postfix, from userid 1000) id 288A91A60D39; Wed, 9 Sep 2020 11:43:58 +0200 (CEST) From: Bastien To: Charles Tam Subject: Re: Bug: Off-by-one when archiving to top level date [9.3.6 (9.3.6-17-g389288-elpa @ /home/charlestam/.emacs.d/elpa/org-20200224/)] Organization: GNU References: Date: Wed, 09 Sep 2020 11:43:58 +0200 In-Reply-To: (Charles Tam's message of "Thu, 27 Feb 2020 18:31:58 -0500") Message-ID: <877dt3z3mp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 0.49 X-TUID: wxE8d3xA4unf Hi Charles, sorry for the late feedback. Charles Tam writes: > I am archiving subtrees of my main Orgmode document to a top-level > datetree in a secondary file. When I do so, I expect something like > the following: > > * 2020 > *** 2020-02 February =C2=A0(org-odd-levels-only t) > ***** 2020-02-27 Thursday > ******* Archived Item > > But instead I get > > * 2020 > *** 2020-02 February > ***** 2020-02-27 Thursday > ***** Archived Item > > The archived item ends up as a sibling of the targeted date, instead > of a child. This seems incorrect. What command or keybinding do you use when archiving? Can you provide a minimal step-by-step recipe to reproduce this bug with emacs -q ? Thanks, --=20 Bastien