[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Archive an task which has un-indented logbook caused error
From: |
Kyle Meyer |
Subject: |
Re: Archive an task which has un-indented logbook caused error |
Date: |
Tue, 08 Dec 2020 03:14:34 GMT |
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).