[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: org-mode - "Wrong type argument: number-or-marker-p, nil" [
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: org-mode - "Wrong type argument: number-or-marker-p, nil" [9.1.14 (9.1.14-1-g4931fc-elpaplus @ /home/emilio/.emacs.d/elpa/org-plus-contrib-20180910/)] |
Date: |
Fri, 16 Nov 2018 21:46:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Emilio Francesquini <address@hidden> writes:
> Consider the following snippet of org
>
> - First item. I'm just writing something longer so that the minimum
> number of characters is reached.
>
> Anywhere on the second line, calls to org-list-struct fail with the
> error: "Wrong type argument: number-or-marker-p, nil".
This is not a bug. The function `org-list-struct' has to be called on an
item, not anywhere within an item. BTW, it is an internal function. You
may want to use `org-element-at-point' instead.
Regards,
--
Nicolas Goaziou