emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: Function org-heading-components is not resilient [9.4.3 (9.4.3-


From: Ihor Radchenko
Subject: Re: Bug: Function org-heading-components is not resilient [9.4.3 (9.4.3-elpa @ /home/data1/protected/.emacs.d/elpa/org-20201216/)]
Date: Sat, 17 Dec 2022 09:58:28 +0000

Jean Louis <bugs@gnu.support> writes:

> In my opinion the function: (org-heading-components) shall not error,
> no matter if it is called outside of the heading, it could still
> return nil values if it is outside of the header.
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   looking-at(nil)
>   org-heading-components()
>   eval((org-heading-components) nil)
>   elisp--eval-last-sexp(nil)
>   eval-last-sexp(nil)
>   funcall-interactively(eval-last-sexp nil)
>   call-interactively(eval-last-sexp nil nil)
>   command-execute(eval-last-sexp)

The error looks like you attempted to run `org-heading-components' in
non-Org buffer. `org-heading-components' behaviour in non-Org buffers is
undefined.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]