emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: `org-get-outline-path' fails on empty heading [8.3.4 (8.3.4


From: Kyle Meyer
Subject: Re: [O] Bug: `org-get-outline-path' fails on empty heading [8.3.4 (8.3.4-5-gdc68d2-elpaplus @ /home/uki/.emacs.d/elpa/org-plus-contrib-20160229/)]
Date: Tue, 01 Mar 2016 21:06:03 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux)

Łukasz Gruner <address@hidden> writes:

> --text follows this line--
>
> 1) create a new headline and don't write anything else.
> 2) M-x eval-expression and type (org-get-outline-path)
> 3) this fails with the following stacktrace:
> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>   replace-regexp-in-string("\\[[0-9]+%\\]\\|\\[[0-9]+/[0-9]+\\]" "" nil)
>   org--get-outline-path-1(nil)
>   org-get-outline-path()
>   eval((org-get-outline-path) nil)
>   eval-expression((org-get-outline-path) nil)
>   call-interactively(eval-expression nil nil)
>   command-execute(eval-expression)
>
> in org--get-outline-path-1 the line (org-match-string-no-properties 4)
> returns nil.

Thanks for the report.  Nicolas fixed this in 105a446 (Fix return value
for ‘org-get-outline-path’, 2016-03-01).

-- 
Kyle



reply via email to

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