17 karma · joined Jan 3, 2021 (5y ago) · 10 submissions
comment 5y ago · link · parent
Emacs 27 users can upgrade to this, or wait until Emacs 28.
comment 5y ago · link · parent
It's worth noting that Emacs's built-in way to find files (project-find-file) in a project does not suffer these performance issues. Try it, C-x p f.
* project-find-file doesn't call expand-file-name for all 70k files (each of which involves a network roundtrip).
* project-find-file will use "git ls-files" (see project--vc-list-files) rather than find (or expecting the user to install and enable fd)
* project-find-file uses completing-read, which wouldn't by default call Ivy/Ivy prescient.
I can see how the author has ended up here: projectile predates the built-in project support, so it must only seem natural to use projectile as a base, and apply performance fixes on top.
Emacs's built in functionality tends to work better with other Emacs functionality, hence why project-find-file works well with TRAMP.
It's worth trimming your config occasionally, and rebasing onto built-in functionality.
The author's fast-project-find-file has a more responsive UI, however. It'd be great to have that in core.
comment 5y ago · link · parent
e.g. here is describes keymaps: https://www.gnu.org/software/emacs/manual/html_node/elisp/Ke...