From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0HJ6Aazvzl8tBQAA0tVLHw (envelope-from ) for ; Tue, 08 Dec 2020 03:14:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wIrbOKvvzl+sGAAAB5/wlQ (envelope-from ) for ; Tue, 08 Dec 2020 03:14:51 +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 E0764940481 for ; Tue, 8 Dec 2020 03:14:50 +0000 (UTC) Received: from localhost ([::1]:47348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmTSh-0003oN-Gf for larch@yhetil.org; Mon, 07 Dec 2020 22:14:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmTRp-0003oA-TF for emacs-orgmode@gnu.org; Mon, 07 Dec 2020 22:13:55 -0500 Received: from out0.migadu.com ([94.23.1.103]:57928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmTRm-00013c-OL for emacs-orgmode@gnu.org; Mon, 07 Dec 2020 22:13:53 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1607397274; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=68weOmcnPYggH+95pkfnLDaalYpPFU6a3bhVdkroCY4=; b=dddsDWhdtun1/bb8Jhi5cgSnqqIO+hPJjeJjPhxdpRzUg3wJ+qIMXbrNGOKtMubFFfB3Yp zDLVQZiwC75nFC1CapMC+RnMMR2vdwLS7Iafej6ahzds3tz0sNGocc7dH7lPZe4/TLOlRr jyGo9HyyWTg2lx81hXJNyqYAB7DcF3yvIcN6+iWJBs2g3YMcwdb0jNRFACiJzBY9tb7pDl KHNZXiM4YhEvUWn6nJR7uYoyIVpMrFRqC4Dskl4Stz6R54kvy/KyxHLNK3g3Wtc8HT2yhF 1xuMPPuczmKbbw5Jp8ZeiP8FNja535oBlpBjVfDEyWd/ILbt3n15ychlsOK3Fw== From: Kyle Meyer To: stardiviner Subject: Re: Archive an task which has un-indented logbook caused error In-Reply-To: References: Message-ID: <87k0ttrnva.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Date: Tue, 08 Dec 2020 03:14:34 GMT Received-SPF: pass client-ip=94.23.1.103; envelope-from=kyle@kyleam.com; helo=out0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: Org-mode , Duianto Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=dddsDWhd; 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-Migadu-Queue-Id: E0764940481 X-Spam-Score: -2.50 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: xnds1exDb0Sm stardiviner writes: > I have an Org task like this: > ```org > ** DONE lantern [2/2] > CLOSED: [2019-02-16 Sat 23:45] > :LOGBOOK: > - State "DONE" from "TODO" [2019-02-16 Sat 23:45] \\ > Arch Linux install lantern from AUR. > CLOCK: [2019-02-16 Sat 23:38]--[2019-02-16 Sat 23:45] => 0:07 > - State "TODO" from [2016-01-09 Sat 10:37] > :END: > > happey ending! > ``` > You can noticed that there are three spaces offset before `CLOSED`. > And NO spaces before the `:LOGBOOK:` drawer. When I press `[C-c C-x C-a]`. > I got following error. > > Here is the error after I `toggle-debug-on-error`. > ``` > Debugger entered--Lisp error: (wrong-type-argument wholenump -1) > move-to-column(-1 t) > indent-line-to(-1) Thanks for reporting. This is the same error as reported by Duianto at https://orgmode.org/list/CAE-tX7i5ew3ED3YX6jjx57qNuRtV0AumWKuE0W83YUUReKE5-g@mail.gmail.com It bisects to 11ef7454a (org.el (org-fixup-indentation): Fix logbook drawers indentation, 2020-09-07).