From: Kyle Meyer <kyle@kyleam.com>
To: "Łukasz Gruner" <lukasz@gruner.lu>
Cc: emacs-orgmode@gnu.org
Subject: Re: 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 [thread overview]
Message-ID: <87egbtpras.fsf@kyleam.com> (raw)
In-Reply-To: <1456881332.3349742.536864642.320EB13D@webmail.messagingengine.com> ("Łukasz Gruner"'s message of "Wed, 02 Mar 2016 02:15:32 +0100")
Łukasz Gruner <lukasz@gruner.lu> 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
next prev parent reply other threads:[~2016-03-02 2:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-02 1:15 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/)] Łukasz Gruner
2016-03-02 2:06 ` Kyle Meyer [this message]
2016-03-02 4:30 ` Kyle Meyer
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
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=87egbtpras.fsf@kyleam.com \
--to=kyle@kyleam.com \
--cc=emacs-orgmode@gnu.org \
--cc=lukasz@gruner.lu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).