Closed zzantares closed 7 years ago
I have noticed this as well.
A similar thing happens when not in a project but trying to visit a file inside a project (first file visit) via helm-projectile
which results in an error ("You're not in a project").
I tried to see where the error occurred and the error is generated in projectile-project-root
.
Debugger entered--Lisp error: (error "You’re not in a project (projectile-project-root)")
signal(error ("You’re not in a project (projectile-project-root)"))
error("You're not in a project (projectile-project-root)")
(if projectile-require-project-root (error "You're not in a project (projectile-project-root)") default-directory)
(or (cl-some (function (lambda (func) (let* ((cache-key (format "%s-%s" func dir)) (cache-value (gethash cache-key projectile-project-root-cache))) (if (and cache-value (file-exists-p cache-value)) cache-value (let (...) (puthash cache-key value projectile-project-root-cache) value))))) projectile-project-root-files-functions) (if projectile-require-project-root (error "You're not in a project (projectile-project-root)") default-directory))
(let ((dir default-directory)) (or (cl-some (function (lambda (func) (let* ((cache-key ...) (cache-value ...)) (if (and cache-value ...) cache-value (let ... ... value))))) projectile-project-root-files-functions) (if projectile-require-project-root (error "You're not in a project (projectile-project-root)") default-directory)))
projectile-project-root()
(expand-file-name candidate (projectile-project-root))
(save-current-buffer (set-buffer (helm-candidate-buffer)) (expand-file-name candidate (projectile-project-root)))
helm-projectile-coerce-file("emacs.d/init.el")
apply(helm-projectile-coerce-file "emacs.d/init.el")
helm-funcall-with-source(((name . "Projectile files") (init #[0 "\301\302\303\300!\203
\300 \202 \300\"\207" [(lambda nil (condition-case nil (projectile-current-project-files) (error nil))) helm-init-candidates-in-buffer global functionp] 4]) (candidates . helm-candidates-in-buffer) (keymap keymap (right . helm-next-source) (left . helm-previous-source) (127 . #[0 "\306\307\310\311\312\305!\313\"\314$\216\315\302!\210\316\304!\317\211\211\301=\203' \315\302!\210\320\202] \321\303\"\211\262\203: \315A!\210\320\202] \312!\262\322\300\"\262\323!\203S \315!\210\202\\ \324\325\"\244\317\266\204\205e \202 )\207" [(keymap (right . helm-execute-persistent-action) (left . helm-find-files-up-one-level) (127 . #3) (18 . helm-find-files-down-last-level) (12 . helm-find-files-up-one-level) (C-backspace . helm-ff-run-toggle-auto-update) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (3 keymap (64 . helm-ff-run-insert-org-link) (114 . helm-ff-run-find-file-as-root) (47 . helm-ff-run-find-sh-command) (112 . helm-ff-run-print-file) (1 . helm-ff-run-gnus-attach-files) (127 . helm-ff-run-toggle-auto-update) (104 . helm-ff-file-name-history) (61 . helm-ff-run-ediff-file) (88 . helm-ff-run-open-file-with-default-tool) (24 . helm-ff-run-open-file-externally) (15 . helm-ff-run-switch-other-frame) (111 . helm-ff-run-switch-other-window) (105 . helm-ff-run-complete-fn-at-point) (100 . helm-ff-persistent-delete)) (27 keymap (114 . helm-ff-rotate-right-persistent) (108 . helm-ff-rotate-left-persistent) (105 . helm-ff-properties-persistent) (112 . helm-ff-run-switch-to-history) (61 . helm-ff-run-ediff-merge-file) (37 . helm-ff-run-query-replace-on-marked) (33 . helm-ff-run-eshell-command-on-file) (101 . helm-ff-run-switch-to-eshell) (75 . helm-ff-run-kill-buffer-persistent) (68 . helm-ff-run-delete-file) (72 . helm-ff-run-hardlink-file) (83 . helm-ff-run-symlink-file) (76 . helm-ff-run-load-file) (66 . helm-ff-run-byte-compile-file) (67 . helm-ff-run-copy-file) (82 . helm-ff-run-rename-file) (46 . helm-ff-run-etags) (103 keymap ... ... ... ... ... ...)) (19 . helm-ff-run-grep) (24 keymap (22 . helm-ff-run-find-alternate-file) (114 keymap ... ...) (4 . helm-ff-run-browse-project) (6 . helm-ff-run-locate)) (29 . helm-ff-run-toggle-basename) keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap ...)) (help keymap (109 . helm-help)) (23 . #[0 "\306\307\310\311\312\305!\313\"\314$\216\315\302!\210\316\304!\317\211\211\301=\203' \315\302!\210\320\202] \321\303\"\211\262\203: \315A!\210\320\202] \312!\262\322\300\"\262\323!\203S \315!\210\202\\ \324\325\"\244\317\266\204\205e \202 )\207" [... 23 helm-yank-text-at-point ... nil nil make-byte-code 0 "\300\205 \300 \207" vconcat vector [] 1 call-interactively read-key nil t assoc lookup-key commandp mapcar identity last-command-event unread-command-events] 7 nil nil]) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (57 lambda nil ... ...) (56 lambda nil ... ...) (55 lambda nil ... ...) (54 lambda nil ... ...) (53 lambda nil ... ...) (52 lambda nil ... ...) (51 lambda nil ... ...) (50 lambda nil ... ...) (49 lambda nil ... ...) (63 . helm-help) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (24 keymap (57 lambda nil ... ...) (56 lambda nil ... ...) (55 lambda nil ... ...) (54 lambda nil ... ...) (53 lambda nil ... ...) (52 lambda nil ... ...) (51 lambda nil ... ...) (50 lambda nil ... ...) (49 lambda nil ... ...) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (15 . helm-next-source) (10 . helm-execute-persistent-action) ...) 127 helm-ff-delete-char-backward nil nil helm-ff-delete-char-backward--exit-fn make-byte-code 0 "\300\205 \300 \207" vconcat vector [] 1 call-interactively read-key nil t assoc lookup-key commandp mapcar identity last-command-event unread-command-events] 7 nil nil]) (18 . helm-find-files-down-last-level) (12 . helm-find-files-up-one-level) (C-backspace . helm-ff-run-toggle-auto-update) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (3 keymap (97 lambda nil (interactive) (helm-exit-and-execute-action (function helm-projectile-dired-files-add-action))) (102 lambda nil (interactive) (helm-exit-and-execute-action (function helm-projectile-dired-files-new-action))) (64 . helm-ff-run-insert-org-link) (114 . helm-ff-run-find-file-as-root) (47 . helm-ff-run-find-sh-command) (112 . helm-ff-run-print-file) (1 . helm-ff-run-gnus-attach-files) (127 . helm-ff-run-toggle-auto-update) (104 . helm-ff-file-name-history) (61 . helm-ff-run-ediff-file) (88 . helm-ff-run-open-file-with-default-tool) (24 . helm-ff-run-open-file-externally) (15 . helm-ff-run-switch-other-frame) (111 . helm-ff-run-switch-other-window) (105 . helm-ff-run-complete-fn-at-point) (100 . helm-ff-persistent-delete)) (27 keymap (114 . helm-ff-rotate-right-persistent) (108 . helm-ff-rotate-left-persistent) (105 . helm-ff-properties-persistent) (112 . helm-ff-run-switch-to-history) (61 . helm-ff-run-ediff-merge-file) (37 . helm-ff-run-query-replace-on-marked) (33 lambda nil (interactive) (helm-exit-and-execute-action (function helm-projectile-find-files-eshell-command-on-file-action))) (101 lambda nil (interactive) (helm-exit-and-execute-action (function helm-projectile-switch-to-eshell))) (75 . helm-ff-run-kill-buffer-persistent) (68 . helm-ff-run-delete-file) (72 . helm-ff-run-hardlink-file) (83 . helm-ff-run-symlink-file) (76 . helm-ff-run-load-file) (66 . helm-ff-run-byte-compile-file) (67 . helm-ff-run-copy-file) (82 . helm-ff-run-rename-file) (46 lambda nil (interactive) (helm-exit-and-execute-action (function helm-projectile-ff-etags-select-action))) (103 keymap (105 . helm-ff-run-gid) (103 . helm-ff-run-git-grep) (97 . helm-ff-run-grep-ag) (122 . helm-ff-run-zgrep) (112 . helm-ff-run-pdfgrep) (115 . helm-ff-run-grep))) (19 . helm-ff-run-grep) (24 keymap (22 . helm-ff-run-find-alternate-file) (114 keymap (98 . helm-find-files-toggle-to-bookmark) (109 . helm-ff-bookmark-set)) (4 . helm-ff-run-browse-project) (6 . helm-ff-run-locate)) (29 . helm-ff-run-toggle-basename) keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (23 . #[0 "\306\307\310\311\312\305!\313\"\314$\216\315\302!\210\316\304!\317\211\211\301=\203' \315\302!\210\320\202] \321\303\"\211\262\203: \315A!\210\320\202] \312!\262\322\300\"\262\323!\203S \315!\210\202\\ \324\325\"\244\317\266\204\205e \202 )\207" [(keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap ...)) (help keymap (109 . helm-help)) #2 (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (57 lambda nil ... ...) (56 lambda nil ... ...) (55 lambda nil ... ...) (54 lambda nil ... ...) (53 lambda nil ... ...) (52 lambda nil ... ...) (51 lambda nil ... ...) (50 lambda nil ... ...) (49 lambda nil ... ...) (63 . helm-help) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (24 keymap (57 lambda nil ... ...) (56 lambda nil ... ...) (55 lambda nil ... ...) (54 lambda nil ... ...) (53 lambda nil ... ...) (52 lambda nil ... ...) (51 lambda nil ... ...) (50 lambda nil ... ...) (49 lambda nil ... ...) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (15 . helm-next-source) (10 . helm-execute-persistent-action) (26 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-maybe-exit-minibuffer) (left . helm-previous-source) (right . helm-next-source) (7 . helm-keyboard-quit) (22 . helm-next-page) (27 keymap (110 . next-history-element) (112 . previous-history-element) (115 . undefined) (5 . helm-display-all-sources) (1 . helm-show-all-in-this-source-only) (85 . helm-unmark-all) (97 . helm-mark-all) (109 . helm-toggle-all-marks) (41 . helm-next-visible-mark) (40 . helm-prev-visible-mark) (91) (32 . helm-toggle-visible-mark) (33554454 . helm-scroll-other-window-down) (25 . helm-scroll-other-window-down) (22 . helm-scroll-other-window) (12 . helm-reposition-window-other-window) (62 . helm-end-of-buffer) (60 . helm-beginning-of-buffer) (118 . helm-previous-page)) (next . helm-next-page) (prior . helm-previous-page) (C-up . helm-follow-action-backward) (C-down . helm-follow-action-forward) (16 . helm-previous-line) (14 . helm-next-line) ...) 23 helm-yank-text-at-point ((31 . helm-undo-yank-text-at-point)) nil nil make-byte-code 0 "\300\205 \300 \207" vconcat vector [] 1 call-interactively read-key nil t assoc lookup-key commandp mapcar identity last-command-event unread-command-events] 7 nil nil]) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (57 lambda nil (interactive) (helm-execute-selection-action-at-nth 9)) (56 lambda nil (interactive) (helm-execute-selection-action-at-nth 8)) (55 lambda nil (interactive) (helm-execute-selection-action-at-nth 7)) (54 lambda nil (interactive) (helm-execute-selection-action-at-nth 6)) (53 lambda nil (interactive) (helm-execute-selection-action-at-nth 5)) (52 lambda nil (interactive) (helm-execute-selection-action-at-nth 4)) (51 lambda nil (interactive) (helm-execute-selection-action-at-nth 3)) (50 lambda nil (interactive) (helm-execute-selection-action-at-nth 2)) (49 lambda nil (interactive) (helm-execute-selection-action-at-nth 1)) (63 . helm-help) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (24 keymap (57 lambda nil (interactive) (helm-execute-selection-action-at-nth -9)) (56 lambda nil (interactive) (helm-execute-selection-action-at-nth -8)) (55 lambda nil (interactive) (helm-execute-selection-action-at-nth -7)) (54 lambda nil (interactive) (helm-execute-selection-action-at-nth -6)) (53 lambda nil (interactive) (helm-execute-selection-action-at-nth -5)) (52 lambda nil (interactive) (helm-execute-selection-action-at-nth -4)) (51 lambda nil (interactive) (helm-execute-selection-action-at-nth -3)) (50 lambda nil (interactive) (helm-execute-selection-action-at-nth -2)) (49 lambda nil (interactive) (helm-execute-selection-action-at-nth -1)) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (15 . helm-next-source) ...) (action ("Find File" . helm-find-file-or-marked) ("Find file in Dired" . helm-point-file-in-dired) ("View file" . view-file) ("Checksum File" . helm-ff-checksum) ("Query replace fnames on marked" . helm-ff-query-replace-on-marked) ("Query replace contents on marked" . helm-ff-query-replace) ("Query replace regexp contents on marked" . helm-ff-query-replace-regexp) ("Serial rename files" . helm-ff-serial-rename) ("Serial rename by symlinking files" . helm-ff-serial-rename-by-symlink) ("Serial rename by copying files" . helm-ff-serial-rename-by-copying) ("Open file with default tool" . helm-open-file-with-default-tool) ("Find file in hex dump" . hexl-find-file) ("Insert as org link `C-c @'" . helm-files-insert-as-org-link) ("Open file externally `C-c C-x, C-u to choose'" . helm-open-file-externally) ("Grep File(s) `C-s, C-u Recurse'" . helm-find-files-grep) ("Grep current directory with AG" . helm-find-files-ag) ("Git grep" . helm-ff-git-grep) ("Zgrep File(s) `M-g z, C-u Recurse'" . helm-ff-zgrep) ("Gid" . helm-ff-gid) ("Switch to Eshell `M-e'" . helm-projectile-switch-to-eshell) ("Etags `M-., C-u reload tag file'" . helm-projectile-ff-etags-select-action) ("Eshell command on file(s) `M-!, C-u take all marked as arguments.'" . helm-projectile-find-files-eshell-command-on-file-action) ("Find file as root `C-c r'" . helm-find-file-as-root) ("Find alternate file" . find-alternate-file) ("Ediff File `C-c ='" . helm-find-files-ediff-files) ("Ediff Merge File `M-='" . helm-find-files-ediff-merge-files) ("Delete File(s) `M-D'" . helm-delete-marked-files) ("Copy file(s) `M-C, C-u to follow'" . helm-find-files-copy) ("Rename file(s) `M-R, C-u to follow'" . helm-find-files-rename) ("Backup files" . helm-find-files-backup) ("Symlink files(s) `M-S, C-u to follow'" . helm-find-files-symlink) ("Relsymlink file(s) `C-u to follow'" . helm-find-files-relsymlink) ("Hardlink file(s) `M-H, C-u to follow'" . helm-find-files-hardlink) ("Find file other window `C-c o'" . helm-find-files-other-window) ("Switch to history `M-p'" . helm-find-files-switch-to-hist) ("Find file other frame `C-c C-o'" . find-file-other-frame) ("Print File `C-c p, C-u to refresh'" . helm-ff-print) ("Locate `C-x C-f, C-u to specify locate db'" . helm-ff-locate) ("Create Dired buffer from files `C-c f'" . helm-projectile-dired-files-new-action) ("Add files to Dired buffer `C-c a'" . helm-projectile-dired-files-add-action)) (persistent-action . helm-projectile-file-persistent-action) (help-message . helm-ff-help-message) (filtered-candidate-transformer helm-fuzzy-matching-default-sort-fn helm-fuzzy-highlight-matches) (volatile) (match identity) (fuzzy-match) (redisplay . identity) (coerce . helm-projectile-coerce-file) (mode-line . "\\<helm-read-file-map>\\[helm-help]:Help C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct \\[helm-toggle-suspend-update]:Tog.suspend") (header-line . "C-j: helm-projectile-file-persistent-action (keeping session)") (multimatch) (data lambda nil (condition-case nil (projectile-current-project-files) (error nil))) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search)) helm-projectile-coerce-file "emacs.d/init.el")
helm-coerce-selection("emacs.d/init.el" ((name . "Projectile files") (init #[0 "\301\302\303\300!\203
\300 \202 \300\"\207" [(lambda nil (condition-case nil (projectile-current-project-files) (error nil))) helm-init-candidates-in-buffer global functionp] 4]) (candidates . helm-candidates-in-buffer) (keymap keymap (right . helm-next-source) (left . helm-previous-source) (127 . #[0 "\306\307\310\311\312\305!\313\"\314$\216\315\302!\210\316\304!\317\211\211\301=\203' \315\302!\210\320\202] \321\303\"\211\262\203: \315A!\210\320\202] \312!\262\322\300\"\262\323!\203S \315!\210\202\\ \324\325\"\244\317\266\204\205e \202 )\207" [(keymap (right . helm-execute-persistent-action) (left . helm-find-files-up-one-level) (127 . #3) (18 . helm-find-files-down-last-level) (12 . helm-find-files-up-one-level) (C-backspace . helm-ff-run-toggle-auto-update) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (3 keymap (64 . helm-ff-run-insert-org-link) (114 . helm-ff-run-find-file-as-root) (47 . helm-ff-run-find-sh-command) (112 . helm-ff-run-print-file) (1 . helm-ff-run-gnus-attach-files) (127 . helm-ff-run-toggle-auto-update) (104 . helm-ff-file-name-history) (61 . helm-ff-run-ediff-file) (88 . helm-ff-run-open-file-with-default-tool) (24 . helm-ff-run-open-file-externally) (15 . helm-ff-run-switch-other-frame) (111 . helm-ff-run-switch-other-window) (105 . helm-ff-run-complete-fn-at-point) (100 . helm-ff-persistent-delete)) (27 keymap (114 . helm-ff-rotate-right-persistent) (108 . helm-ff-rotate-left-persistent) (105 . helm-ff-properties-persistent) (112 . helm-ff-run-switch-to-history) (61 . helm-ff-run-ediff-merge-file) (37 . helm-ff-run-query-replace-on-marked) (33 . helm-ff-run-eshell-command-on-file) (101 . helm-ff-run-switch-to-eshell) (75 . helm-ff-run-kill-buffer-persistent) (68 . helm-ff-run-delete-file) (72 . helm-ff-run-hardlink-file) (83 . helm-ff-run-symlink-file) (76 . helm-ff-run-load-file) (66 . helm-ff-run-byte-compile-file) (67 . helm-ff-run-copy-file) (82 . helm-ff-run-rename-file) (46 . helm-ff-run-etags) (103 keymap ... ... ... ... ... ...)) (19 . helm-ff-run-grep) (24 keymap (22 . helm-ff-run-find-alternate-file) (114 keymap ... ...) (4 . helm-ff-run-browse-project) (6 . helm-ff-run-locate)) (29 . helm-ff-run-toggle-basename) keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap ...)) (help keymap (109 . helm-help)) (23 . #[0 "\306\307\310\311\312\305!\313\"\314$\216\315\302!\210\316\304!\317\211\211\301=\203' \315\302!\210\320\202] \321\303\"\211\262\203: \315A!\210\320\202] \312!\262\322\300\"\262\323!\203S \315!\210\202\\ \324\325\"\244\317\266\204\205e \202 )\207" [... 23 helm-yank-text-at-point ... nil nil make-byte-code 0 "\300\205 \300 \207" vconcat vector [] 1 call-interactively read-key nil t assoc lookup-key commandp mapcar identity last-command-event unread-command-events] 7 nil nil]) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (57 lambda nil ... ...) (56 lambda nil ... ...) (55 lambda nil ... ...) (54 lambda nil ... ...) (53 lambda nil ... ...) (52 lambda nil ... ...) (51 lambda nil ... ...) (50 lambda nil ... ...) (49 lambda nil ... ...) (63 . helm-help) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (24 keymap (57 lambda nil ... ...) (56 lambda nil ... ...) (55 lambda nil ... ...) (54 lambda nil ... ...) (53 lambda nil ... ...) (52 lambda nil ... ...) (51 lambda nil ... ...) (50 lambda nil ... ...) (49 lambda nil ... ...) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (15 . helm-next-source) (10 . helm-execute-persistent-action) ...) 127 helm-ff-delete-char-backward nil nil helm-ff-delete-char-backward--exit-fn make-byte-code 0 "\300\205 \300 \207" vconcat vector [] 1 call-interactively read-key nil t assoc lookup-key commandp mapcar identity last-command-event unread-command-events] 7 nil nil]) (18 . helm-find-files-down-last-level) (12 . helm-find-files-up-one-level) (C-backspace . helm-ff-run-toggle-auto-update) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (3 keymap (97 lambda nil (interactive) (helm-exit-and-execute-action (function helm-projectile-dired-files-add-action))) (102 lambda nil (interactive) (helm-exit-and-execute-action (function helm-projectile-dired-files-new-action))) (64 . helm-ff-run-insert-org-link) (114 . helm-ff-run-find-file-as-root) (47 . helm-ff-run-find-sh-command) (112 . helm-ff-run-print-file) (1 . helm-ff-run-gnus-attach-files) (127 . helm-ff-run-toggle-auto-update) (104 . helm-ff-file-name-history) (61 . helm-ff-run-ediff-file) (88 . helm-ff-run-open-file-with-default-tool) (24 . helm-ff-run-open-file-externally) (15 . helm-ff-run-switch-other-frame) (111 . helm-ff-run-switch-other-window) (105 . helm-ff-run-complete-fn-at-point) (100 . helm-ff-persistent-delete)) (27 keymap (114 . helm-ff-rotate-right-persistent) (108 . helm-ff-rotate-left-persistent) (105 . helm-ff-properties-persistent) (112 . helm-ff-run-switch-to-history) (61 . helm-ff-run-ediff-merge-file) (37 . helm-ff-run-query-replace-on-marked) (33 lambda nil (interactive) (helm-exit-and-execute-action (function helm-projectile-find-files-eshell-command-on-file-action))) (101 lambda nil (interactive) (helm-exit-and-execute-action (function helm-projectile-switch-to-eshell))) (75 . helm-ff-run-kill-buffer-persistent) (68 . helm-ff-run-delete-file) (72 . helm-ff-run-hardlink-file) (83 . helm-ff-run-symlink-file) (76 . helm-ff-run-load-file) (66 . helm-ff-run-byte-compile-file) (67 . helm-ff-run-copy-file) (82 . helm-ff-run-rename-file) (46 lambda nil (interactive) (helm-exit-and-execute-action (function helm-projectile-ff-etags-select-action))) (103 keymap (105 . helm-ff-run-gid) (103 . helm-ff-run-git-grep) (97 . helm-ff-run-grep-ag) (122 . helm-ff-run-zgrep) (112 . helm-ff-run-pdfgrep) (115 . helm-ff-run-grep))) (19 . helm-ff-run-grep) (24 keymap (22 . helm-ff-run-find-alternate-file) (114 keymap (98 . helm-find-files-toggle-to-bookmark) (109 . helm-ff-bookmark-set)) (4 . helm-ff-run-browse-project) (6 . helm-ff-run-locate)) (29 . helm-ff-run-toggle-basename) keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (23 . #[0 "\306\307\310\311\312\305!\313\"\314$\216\315\302!\210\316\304!\317\211\211\301=\203' \315\302!\210\320\202] \321\303\"\211\262\203: \315A!\210\320\202] \312!\262\322\300\"\262\323!\203S \315!\210\202\\ \324\325\"\244\317\266\204\205e \202 )\207" [(keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap ...)) (help keymap (109 . helm-help)) #2 (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (57 lambda nil ... ...) (56 lambda nil ... ...) (55 lambda nil ... ...) (54 lambda nil ... ...) (53 lambda nil ... ...) (52 lambda nil ... ...) (51 lambda nil ... ...) (50 lambda nil ... ...) (49 lambda nil ... ...) (63 . helm-help) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (24 keymap (57 lambda nil ... ...) (56 lambda nil ... ...) (55 lambda nil ... ...) (54 lambda nil ... ...) (53 lambda nil ... ...) (52 lambda nil ... ...) (51 lambda nil ... ...) (50 lambda nil ... ...) (49 lambda nil ... ...) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (15 . helm-next-source) (10 . helm-execute-persistent-action) (26 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-maybe-exit-minibuffer) (left . helm-previous-source) (right . helm-next-source) (7 . helm-keyboard-quit) (22 . helm-next-page) (27 keymap (110 . next-history-element) (112 . previous-history-element) (115 . undefined) (5 . helm-display-all-sources) (1 . helm-show-all-in-this-source-only) (85 . helm-unmark-all) (97 . helm-mark-all) (109 . helm-toggle-all-marks) (41 . helm-next-visible-mark) (40 . helm-prev-visible-mark) (91) (32 . helm-toggle-visible-mark) (33554454 . helm-scroll-other-window-down) (25 . helm-scroll-other-window-down) (22 . helm-scroll-other-window) (12 . helm-reposition-window-other-window) (62 . helm-end-of-buffer) (60 . helm-beginning-of-buffer) (118 . helm-previous-page)) (next . helm-next-page) (prior . helm-previous-page) (C-up . helm-follow-action-backward) (C-down . helm-follow-action-forward) (16 . helm-previous-line) (14 . helm-next-line) ...) 23 helm-yank-text-at-point ((31 . helm-undo-yank-text-at-point)) nil nil make-byte-code 0 "\300\205 \300 \207" vconcat vector [] 1 call-interactively read-key nil t assoc lookup-key commandp mapcar identity last-command-event unread-command-events] 7 nil nil]) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (57 lambda nil (interactive) (helm-execute-selection-action-at-nth 9)) (56 lambda nil (interactive) (helm-execute-selection-action-at-nth 8)) (55 lambda nil (interactive) (helm-execute-selection-action-at-nth 7)) (54 lambda nil (interactive) (helm-execute-selection-action-at-nth 6)) (53 lambda nil (interactive) (helm-execute-selection-action-at-nth 5)) (52 lambda nil (interactive) (helm-execute-selection-action-at-nth 4)) (51 lambda nil (interactive) (helm-execute-selection-action-at-nth 3)) (50 lambda nil (interactive) (helm-execute-selection-action-at-nth 2)) (49 lambda nil (interactive) (helm-execute-selection-action-at-nth 1)) (63 . helm-help) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (24 keymap (57 lambda nil (interactive) (helm-execute-selection-action-at-nth -9)) (56 lambda nil (interactive) (helm-execute-selection-action-at-nth -8)) (55 lambda nil (interactive) (helm-execute-selection-action-at-nth -7)) (54 lambda nil (interactive) (helm-execute-selection-action-at-nth -6)) (53 lambda nil (interactive) (helm-execute-selection-action-at-nth -5)) (52 lambda nil (interactive) (helm-execute-selection-action-at-nth -4)) (51 lambda nil (interactive) (helm-execute-selection-action-at-nth -3)) (50 lambda nil (interactive) (helm-execute-selection-action-at-nth -2)) (49 lambda nil (interactive) (helm-execute-selection-action-at-nth -1)) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (15 . helm-next-source) ...) (action ("Find File" . helm-find-file-or-marked) ("Find file in Dired" . helm-point-file-in-dired) ("View file" . view-file) ("Checksum File" . helm-ff-checksum) ("Query replace fnames on marked" . helm-ff-query-replace-on-marked) ("Query replace contents on marked" . helm-ff-query-replace) ("Query replace regexp contents on marked" . helm-ff-query-replace-regexp) ("Serial rename files" . helm-ff-serial-rename) ("Serial rename by symlinking files" . helm-ff-serial-rename-by-symlink) ("Serial rename by copying files" . helm-ff-serial-rename-by-copying) ("Open file with default tool" . helm-open-file-with-default-tool) ("Find file in hex dump" . hexl-find-file) ("Insert as org link `C-c @'" . helm-files-insert-as-org-link) ("Open file externally `C-c C-x, C-u to choose'" . helm-open-file-externally) ("Grep File(s) `C-s, C-u Recurse'" . helm-find-files-grep) ("Grep current directory with AG" . helm-find-files-ag) ("Git grep" . helm-ff-git-grep) ("Zgrep File(s) `M-g z, C-u Recurse'" . helm-ff-zgrep) ("Gid" . helm-ff-gid) ("Switch to Eshell `M-e'" . helm-projectile-switch-to-eshell) ("Etags `M-., C-u reload tag file'" . helm-projectile-ff-etags-select-action) ("Eshell command on file(s) `M-!, C-u take all marked as arguments.'" . helm-projectile-find-files-eshell-command-on-file-action) ("Find file as root `C-c r'" . helm-find-file-as-root) ("Find alternate file" . find-alternate-file) ("Ediff File `C-c ='" . helm-find-files-ediff-files) ("Ediff Merge File `M-='" . helm-find-files-ediff-merge-files) ("Delete File(s) `M-D'" . helm-delete-marked-files) ("Copy file(s) `M-C, C-u to follow'" . helm-find-files-copy) ("Rename file(s) `M-R, C-u to follow'" . helm-find-files-rename) ("Backup files" . helm-find-files-backup) ("Symlink files(s) `M-S, C-u to follow'" . helm-find-files-symlink) ("Relsymlink file(s) `C-u to follow'" . helm-find-files-relsymlink) ("Hardlink file(s) `M-H, C-u to follow'" . helm-find-files-hardlink) ("Find file other window `C-c o'" . helm-find-files-other-window) ("Switch to history `M-p'" . helm-find-files-switch-to-hist) ("Find file other frame `C-c C-o'" . find-file-other-frame) ("Print File `C-c p, C-u to refresh'" . helm-ff-print) ("Locate `C-x C-f, C-u to specify locate db'" . helm-ff-locate) ("Create Dired buffer from files `C-c f'" . helm-projectile-dired-files-new-action) ("Add files to Dired buffer `C-c a'" . helm-projectile-dired-files-add-action)) (persistent-action . helm-projectile-file-persistent-action) (help-message . helm-ff-help-message) (filtered-candidate-transformer helm-fuzzy-matching-default-sort-fn helm-fuzzy-highlight-matches) (volatile) (match identity) (fuzzy-match) (redisplay . identity) (coerce . helm-projectile-coerce-file) (mode-line . "\\<helm-read-file-map>\\[helm-help]:Help C/\\[helm-cr-empty-string]:Empty \\<helm-map>\\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct \\[helm-toggle-suspend-update]:Tog.suspend") (header-line . "C-j: helm-projectile-file-persistent-action (keeping session)") (multimatch) (data lambda nil (condition-case nil (projectile-current-project-files) (error nil))) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search)))
helm-execute-selection-action-1()
helm-execute-selection-action()
helm-internal((helm-source-projectile-dired-files-list helm-source-projectile-files-list) nil "[emacs] Find file: " nil nil "*helm projectile*" nil nil nil)
apply(helm-internal ((helm-source-projectile-dired-files-list helm-source-projectile-files-list) nil "[emacs] Find file: " nil nil "*helm projectile*" nil nil nil))
helm((helm-source-projectile-dired-files-list helm-source-projectile-files-list) nil "[emacs] Find file: " nil nil "*helm projectile*" nil nil nil)
apply(helm ((helm-source-projectile-dired-files-list helm-source-projectile-files-list) nil "[emacs] Find file: " nil nil "*helm projectile*" nil nil nil))
helm(:sources (helm-source-projectile-dired-files-list helm-source-projectile-files-list) :buffer "*helm projectile*" :prompt "[emacs] Find file: ")
(let ((helm-ff-transformer-show-only-basename nil) (helm-boring-file-regexp-list nil)) (helm :sources helm-source-projectile-files-and-dired-list :buffer "*helm projectile*" :prompt (projectile-prepend-project-name "Find file: ")))
helm-projectile-find-file()
funcall(helm-projectile-find-file)
(let ((projectile-project-name (funcall projectile-project-name-function project-to-switch))) (funcall switch-project-action))
(let ((default-directory project-to-switch)) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (hack-dir-local-variables-non-file-buffer)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (let ((projectile-project-name (funcall projectile-project-name-function project-to-switch))) (funcall switch-project-action)))
(let ((switch-project-action (if arg (quote projectile-commander) projectile-switch-project-action))) (run-hooks (quote projectile-before-switch-project-hook)) (let ((default-directory project-to-switch)) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (hack-dir-local-variables-non-file-buffer)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (let ((projectile-project-name (funcall projectile-project-name-function project-to-switch))) (funcall switch-project-action))) (run-hooks (quote projectile-after-switch-project-hook)))
projectile-switch-project-by-name("~/Documents/dotfiles/emacs/")
(let ((projectile-completion-system (quote helm))) (projectile-switch-project-by-name project))
(lambda (project) (let ((projectile-completion-system (quote helm))) (projectile-switch-project-by-name project)))("~/Documents/dotfiles/emacs/")
helm-execute-selection-action-1()
helm-execute-selection-action()
helm-internal((helm-source-projectile-buffers-list helm-source-projectile-files-list helm-source-projectile-projects) nil "[-] Switch to project: " nil nil "*helm projectile*" nil nil nil)
apply(helm-internal ((helm-source-projectile-buffers-list helm-source-projectile-files-list helm-source-projectile-projects) nil "[-] Switch to project: " nil nil "*helm projectile*" nil nil nil))
helm((helm-source-projectile-buffers-list helm-source-projectile-files-list helm-source-projectile-projects) nil "[-] Switch to project: " nil nil "*helm projectile*" nil nil nil)
apply(helm ((helm-source-projectile-buffers-list helm-source-projectile-files-list helm-source-projectile-projects) nil "[-] Switch to project: " nil nil "*helm projectile*" nil nil nil))
helm(:sources (helm-source-projectile-buffers-list helm-source-projectile-files-list helm-source-projectile-projects) :buffer "*helm projectile*" :prompt "[-] Switch to project: ")
(let ((helm-ff-transformer-show-only-basename nil)) (helm :sources helm-projectile-sources-list :buffer "*helm projectile*" :prompt (projectile-prepend-project-name (if (projectile-project-p) "pattern: " "Switch to project: "))))
helm-projectile(nil)
funcall-interactively(helm-projectile nil)
call-interactively(helm-projectile nil nil)
command-execute(helm-projectile)
Can the issue be that default directory does not have correct value? I That it's still the old project when trying to open a file from a new project and nothing when not currently in a project?
A downgrade of the helm.el file solves the problem for me. (helm ba8990a4692970170a989b94350d9d35ff010a38)
I can confirm this as well. Seems to be something changed on helm inner workings because the culprit is this function:
(defun helm-projectile-coerce-file (candidate) (with-current-buffer (helm-candidate-buffer) (expand-file-name candidate (projectile-project-root))))
Which has been the same since the initial commit.
The function is supposed to return the full path name of the file from the projectile file candidate. The thing is (helm-candidate-buffer) is creating a buffer from another directory, causing (projectile-project-root) to misbehave. I'm not sure why the author used it because I'm not familiar with helm inner workings but a quick fix for now would be:
(defun helm-projectile-coerce-file (candidate) (expand-file-name candidate (projectile-project-root)))
(helm-candidate-buffer) has gone through a refactor recently in helm.el, so that's why it broke this coercion on helm-projectile. I'm not creating a PR because I'm not sure the correct way forward.
Are helm and helm-core supposed to be upgraded in sync, or can they vary independently? A package update on 1/24/2017 changed helm, but not helm core. Downgrading helm-core, fixed the problem (although that technically made them more out of sync), as did downgrading helm to match the helm-core version.
Please check whether the latest build fixes this issue.
Not working correctly filtering the match from any input.
Can you provide any more information?
helm-projectile-find-file
is not matching correctly based on input. It doesn't sort the candidates on best match and is showing candidates which didn't match at the end of the list.
helm-projectile-find-file-dwim
is working correctly.
That's a result of fuzzy matching (see helm-projectile-fuzzy-match
) and has nothing to do with this issue.
No, it's unrelated to fuzzy matching. The issue with coercion has been fixed, but some commit on helm and/or helm-projectile broke the find function. See browsing helm-projectile project:
Expected (using helm-projectile-find-file-dwim
and 1af5979):
Using last commit and helm-projectile-find-file-dwim
or helm-projectile-find-file
:
Thanks, this seems to be a problem with helm-build-in-buffer-source
and :candidates
. helm-build-sync-source
does not have this problem.
Please see if #68 addresses this.
@xiongtx thanks for your pull request. I am experiencing the same issue in filtering candidates.
I switched to your branch and everything works just fine! Thx
Great, I've merged it into master
.
I love it when I have a problem, come to GitHub, and the fixed was merged into master mere hours ago :)
Hi, recently I noticed that
helm-projectile-find-file
is behaving weird, perhaps related to a recent change?, it basically when previously visited other project withhelm-projectile-switch-project
and now try tohelm-projectile-find-file
it asks for a file creation after narrowing the search results and pressingRET
.Example
helm-projectile-switch-project
and select some project (eg.project1
).project1
, just visit some file.helm-projectile-switch-project
to visit other project (eg.project2
).project2
, visit some file (egproject2_file
).At this point, it asks
Create directory '/Users/me/proj1/somefolder/project2_file/'? (y or n)
. For me aftern
is answered it opens afind-file-at-point
invocation that I never called. Now for any call tohelm-projectile-find-file
it asks to create a folder in the first visited project.For now I just stopped to use
helm-projectile
, pureprojectile
doesn't have this behavior, but I was thinking that at least I should report this.