reddit / emacs

[Cross-Post Spacemacs]

fuxx90 · 2022-11-08 12:49
Hi, I have problems with my helm. In the past, I could resolve this by cleaning up the file history (M-x recentf-list-edit). But now, every time I try to open a folder in helm, I get this error message. (I turned on M-x edit-variables, debug-on-error t) Debugger entered--Lisp error: (wrong-type-argument arrayp nil) dired--make-directory-clickable() dired-readin() dired-internal-noselect("~/org/" nil) dired-noselect("~/org") run-hook-with-args-until-success(dired-noselect "~/org") #<subr find-file-noselect>("/home/kai/org/.") apply(#<subr find-file-noselect> "/home/kai/org/." nil) editorconfig--advice-find-file-noselect(#<subr find-file-noselect> "/home/kai/org/.") apply(editorconfig--advice-find-file-noselect #<subr find-file-noselect> "/home/kai/org/.") find-file-noselect("/home/kai/org/.") mapcar(find-file-noselect ("/home/kai/org/.")) (let* ((files (helm-marked-candidates)) (buffers (mapcar 'find-file-noselect files))) (spacemacs//helm-open-buffers-in-windows buffers)) (lambda (candidate) (let* ((files (helm-marked-candidates)) (buffers (mapcar 'find-file-noselect files))) (spacemacs//helm-open-buffers-in-windows buffers)))("/home/kai/org/.") helm-execute-selection-action-1() helm-execute-selection-action() helm-internal(helm-source-find-files "/home/kai/" "Find files or url: " nil nil "*helm find files*" nil nil nil) helm(helm-source-find-files "/home/kai/" "Find files or url: " nil nil "*helm find files*" nil nil nil) helm(:sources helm-source-find-files :input "/home/kai/" :case-fold-search smart :preselect nil :ff-transformer-show-only-basename t :default nil :prompt "Find files or url: " :buffer "*helm find files*") helm-find-files-1("/home/kai/") (let* ((hist (and arg helm-ff-history (helm-find-files-history nil))) (default-input hist) (input (cond ((and (eq major-mode 'dired-mode) default-input) (file-name-directory default-input)) ((and (not (string= default-input "")) default-input)) (t (expand-file-name (helm-current-directory)))))) (set-text-properties 0 (length input) nil input) (helm-find-files-1 input)) spacemacs/helm-find-files(nil) funcall-interactively(spacemacs/helm-find-files nil) call-interactively(spacemacs/helm-find-files) lazy-helm/spacemacs/helm-find-files() funcall-interactively(lazy-helm/spacemacs/helm-find-files) command-execute(lazy-helm/spacemacs/helm-find-files)
helm05 · 2022-11-08 17:32
You have a problem with the Spacemacs version of Helm, i.e. the one modified by Spacemacs. Helm itself doesn't suffer of this problem.
fuxx90 · 2022-11-08 18:52
any ideas to tackle this?
helm05 · 2022-11-09 06:22
No, you have to report this on Spacemacs. Don't know what their function calling helm-find-files does, and don't know what the advice they apply on find-file-noselect does (apparently it involves some dired stuff wrongly).
helm05 · 2022-11-09 06:28
Maybe try turning off dired-make-directory-clickable (set it to nil) until Spacemacs fix the issue once reported.
fuxx90 · 2022-11-15 16:20
I guess i fixed the issue. https://github.com/syl20bnr/spacemacs/issues/15808