From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: Regression in Org triggered from helm Date: Fri, 30 Oct 2015 13:32:27 -0400 Message-ID: <87vb9ojm8k.fsf@kyleam.com> References: <562FDD12.7000702@gmx.de> <877fm9bb40.fsf@kyleam.com> <562FF123.2070306@gmx.de> <87ziz59ruk.fsf@kyleam.com> <87h9lbbj5z.fsf@kyleam.com> <87eggfp165.fsf@nicolasgoaziou.fr> <5634F16F.2020708@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsDXY-0000Np-Te for emacs-orgmode@gnu.org; Fri, 30 Oct 2015 13:32:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsDXU-0003X6-Q9 for emacs-orgmode@gnu.org; Fri, 30 Oct 2015 13:32:36 -0400 Received: from mail-qk0-x231.google.com ([2607:f8b0:400d:c09::231]:36427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsDXU-0003Wq-Ja for emacs-orgmode@gnu.org; Fri, 30 Oct 2015 13:32:32 -0400 Received: by qkcl124 with SMTP id l124so30313502qkc.3 for ; Fri, 30 Oct 2015 10:32:32 -0700 (PDT) In-Reply-To: <5634F16F.2020708@gmx.de> (Simon Thum's message of "Sat, 31 Oct 2015 16:50:55 +0000") 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: Simon Thum Cc: emacs-orgmode Simon Thum writes: > I was a bit early; I am getting this error now: > > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > replace-regexp-in-string("[ ]+\\'" "" nil) > (lambda (s) (replace-regexp-in-string "[ ]+\\'" "" s))(nil) > mapconcat((lambda (s) (replace-regexp-in-string "[ ]+\\'" "" s)) > (#("Aktionen" 0 8 (face org-level-1)) #("Stellensuche" 0 12 (face > org-level-2)) #("Kandidaten" 0 10 (face org-level-3)) nil) "/") > > > I bet it's my habit of putting slashes into headlines which breaks the > logic. However it worked before. I can reproduce this with a buffer containing an empty heading. (Slashes should work fine.) org-format-outline-path takes a list of strings for path elements. It handles an empty list fine, but helm-get-org-candidates-in-file is passing it (nil). I'll update org-format-outline-path to discard nil path elements, but I should also probably submit a patch to helm to make it ignore empty headers rather than passing a non-string list. Thanks. -- Kyle