Simon Thum <simon.t...@gmx.de> 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