[Emacs] Prevent unrequired connections to host Tilo

Having a project located in a remote host in
`projectile-ignored-projects' made Emacs often connect to Tilo for no
apparent reasons. This commit should fix it.
This commit is contained in:
Lucien Cartier-Tilet 2021-01-08 22:38:48 +01:00
parent 2919c7b286
commit a04064848d
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -3882,7 +3882,7 @@ The Scheme configuration will be very short, I just need to tell Emacs the name
:END: :END:
Projectile is an awesome utility which helps managing projects within Emacs. It will automatically detect version controlled directories, and will by default assume this is a project I can be working on. However, there are some directories that are version controlled that I do not want to see in my list of projects, namely all the cached AUR packages from my AUR helper, ~yay~. They are all stored in the same parent directory, so lets ignore that. I will also make Emacs ignore all ~node_modules~ directories it could encounter. And for some reason, =~/.config/emacs= is always in my projects list (I now use XDG-compliant directories), so lets also ignore that. Projectile is an awesome utility which helps managing projects within Emacs. It will automatically detect version controlled directories, and will by default assume this is a project I can be working on. However, there are some directories that are version controlled that I do not want to see in my list of projects, namely all the cached AUR packages from my AUR helper, ~yay~. They are all stored in the same parent directory, so lets ignore that. I will also make Emacs ignore all ~node_modules~ directories it could encounter. And for some reason, =~/.config/emacs= is always in my projects list (I now use XDG-compliant directories), so lets also ignore that.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(setq projectile-ignored-projects '("~/.cache/yay" "~/.config/emacs" "/tmp" "/rsync:Tilo:/home/phundrak/www/phundrak.com/config/")) (setq projectile-ignored-projects '("~/.cache/yay" "~/.config/emacs" "/tmp"))
(add-to-list 'projectile-globally-ignored-directories "node_modules") (add-to-list 'projectile-globally-ignored-directories "node_modules")
#+END_SRC #+END_SRC