From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: Regression in Org triggered from helm Date: Sat, 31 Oct 2015 12:56:36 -0400 Message-ID: <87vb9n0yez.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> <87vb9ojm8k.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsZSM-0007yd-CM for emacs-orgmode@gnu.org; Sat, 31 Oct 2015 12:56:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsZSL-0002JE-G8 for emacs-orgmode@gnu.org; Sat, 31 Oct 2015 12:56:42 -0400 Received: from mail-qg0-x22b.google.com ([2607:f8b0:400d:c04::22b]:36141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsZSL-0002Iq-7n for emacs-orgmode@gnu.org; Sat, 31 Oct 2015 12:56:41 -0400 Received: by qgad10 with SMTP id d10so85753378qga.3 for ; Sat, 31 Oct 2015 09:56:40 -0700 (PDT) In-Reply-To: <87vb9ojm8k.fsf@kyleam.com> (Kyle Meyer's message of "Fri, 30 Oct 2015 13:32:27 -0400") 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 Kyle Meyer writes: > 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. This error should be fixed as of 59d7062. -- Kyle