emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: stardiviner <numbchild@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>, Duianto <otnaiud@gmail.com>
Subject: Re: Archive an task which has un-indented logbook caused error
Date: Tue, 08 Dec 2020 03:14:34 GMT	[thread overview]
Message-ID: <87k0ttrnva.fsf@kyleam.com> (raw)
In-Reply-To: <CAL1eYuKObYzY2MHSQ+W08mW3TZ+83H45teOq_rHq9qz7-FEgKw@mail.gmail.com>

stardiviner writes:

> I have an Org task like this:
> ```org
> ** DONE lantern [2/2]
>    CLOSED: [2019-02-16 Sat 23:45]
> - 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

It bisects to 11ef7454a (org.el (org-fixup-indentation): Fix logbook
drawers indentation, 2020-09-07).

  reply	other threads:[~2020-12-08  3:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-08  2:49 Archive an task which has un-indented logbook caused error stardiviner
2020-12-08  3:14 ` Kyle Meyer [this message]
2020-12-09  5:04   ` Kyle Meyer
2020-12-09  5:45     ` [FIXED] " stardiviner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0ttrnva.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=numbchild@gmail.com \
    --cc=otnaiud@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).