[Top][All Lists]

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

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

From: Łukasz Gruner
Subject: [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: Wed, 02 Mar 2016 02:15:32 +0100

--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)
  eval((org-get-outline-path) nil)
  eval-expression((org-get-outline-path) nil)
  call-interactively(eval-expression nil nil)

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 @

reply via email to

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