From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?=C5=81ukasz=20Gruner?= 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 Message-ID: <1456881332.3349742.536864642.320EB13D@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aavO6-0007K7-5x for emacs-orgmode@gnu.org; Tue, 01 Mar 2016 20:15:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aavO2-0001SO-TN for emacs-orgmode@gnu.org; Tue, 01 Mar 2016 20:15:38 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:42103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aavO2-0001RT-OC for emacs-orgmode@gnu.org; Tue, 01 Mar 2016 20:15:34 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 36D1C20BB6 for ; Tue, 1 Mar 2016 20:15:33 -0500 (EST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --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/)