From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8EwUMVPRrF92XgAA0tVLHw (envelope-from ) for ; Thu, 12 Nov 2020 06:08:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sD3WLFPRrF/zVAAAbx9fmQ (envelope-from ) for ; Thu, 12 Nov 2020 06:08:19 +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 2481F940222 for ; Thu, 12 Nov 2020 06:08:19 +0000 (UTC) Received: from localhost ([::1]:56558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kd5mM-0006Lg-3a for larch@yhetil.org; Thu, 12 Nov 2020 01:08:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kd5lx-0006LS-GI for emacs-orgmode@gnu.org; Thu, 12 Nov 2020 01:07:53 -0500 Received: from pb-smtp1.pobox.com ([64.147.108.70]:58519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kd5lv-0007JN-5F; Thu, 12 Nov 2020 01:07:53 -0500 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id D9A4492588; Thu, 12 Nov 2020 01:07:49 -0500 (EST) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=yhZLlT+HcUd32ygt5fGqF5cLIaM=; b=aTgACi KNMyaCumdGbTTGhDW9JDVzW+dqMg90u+eQ5txV5JZxG3VFeKWvsWlMdD1lFVhGe/ 1i9+EzVtWez47OuzSI1APL1oyIAtijkwWefusuT94ngVfPa23zSyMuFlet6Mvzs9 tvlA2jW/1vhGr3zFVZb3e04VnqRdmlZDvru30= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id D278692587; Thu, 12 Nov 2020 01:07:49 -0500 (EST) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=DAsMM4wnRAOF/iTqLsf+PSvlA6a3Z0DddEcXi62HIFI=; b=FabmW0yBVSCMVXbuCjAAIyT4syqWYe0BFc8TpuPJI8JKE5r//3ZHssoMH7wKZvsbvXQm8Nyq+ERRPUb+0OHAm/r2oNI5FrhyQLvUcdFv4qpTv7fIUmoHvPij/4UpqZJXUkyB5l0SsPmTGrdnbSKO3fapLhM3FDkM9+c03DI38Mo= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 47DB092586; Thu, 12 Nov 2020 01:07:48 -0500 (EST) (envelope-from kyle@kyleam.com) From: Kyle Meyer 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/)] In-Reply-To: References: <877dt3z3mp.fsf@gnu.org> Date: Thu, 12 Nov 2020 01:07:47 -0500 Message-ID: <87ft5f6rbg.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 64267C8A-24AD-11EB-80BE-D152C8D8090B-24757444!pb-smtp1.pobox.com Received-SPF: pass client-ip=64.147.108.70; envelope-from=kyle@kyleam.com; helo=pb-smtp1.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/12 01:07:49 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Bastien , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=aTgACi K; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=FabmW0yB; 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: -1.21 X-TUID: rYb9EufquE+v Charles Tam writes: > Wow it's been a while. Sorry I dropped this! > > To reproduce the bug, open the following content in `emacs -q` and run > org-archive-subtree on the TEST ITEM: > > #+COMMENT: Local Variables: > #+COMMENT: mode: org > #+COMMENT: org-archive-location: "::datetree/" > #+COMMENT: org-odd-levels-only: t > #+COMMENT: End: > > * TEST ITEM > > You can check that the indentation of the TEST ITEM is more correct if you > set org-odd-levels-only to nil. More weirdness also happens if you set > org-archive-location to "::datetree/* Archive Header" (while > org-odd-levels-only is t). Thanks for the reproducer. Should be fixed with 262777294.