From: "Łukasz Gruner" <lukasz@gruner.lu>
To: emacs-orgmode@gnu.org
Subject: 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: Wed, 02 Mar 2016 02:15:32 +0100 [thread overview]
Message-ID: <1456881332.3349742.536864642.320EB13D@webmail.messagingengine.com> (raw)
--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.
Emacs : GNU Emacs 24.5.1 (x86_64-unknown-cygwin)
of 2015-06-23 on desktop-new
Package: Org-mode version 8.3.4 (8.3.4-5-gdc68d2-elpaplus @
/home/uki/.emacs.d/elpa/org-plus-contrib-20160229/)
next reply other threads:[~2016-03-02 1:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-02 1:15 Łukasz Gruner [this message]
2016-03-02 2:06 ` 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/)] Kyle Meyer
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=1456881332.3349742.536864642.320EB13D@webmail.messagingengine.com \
--to=lukasz@gruner.lu \
--cc=emacs-orgmode@gnu.org \
/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).