reddit / emacs

Projectile-find-files always open projectile-file-errors buffer

reclaro · 2022-09-03 17:13
Hello, I have an odd behavior thing that I can't understand and i have no idea how to debug. When I call the function projectile-find-files, it asks me to select a project, I do that and as soon as It opens the buffer for finding the file, in a new buffers open the projectile-file-errors, there are no errors, the output shows that it is running a new shell, the message is repeated twice, it is like it run the shell command twice. Is that related to linux command that find-files uses in emacs? I attach a picture of the error buffers. ​ https://preview.redd.it/nyk1yhvmfol91.png?width=421&format=png&auto=webp&s=c5f4a28374d9fc1f496f76b6f09f8d2fd7d6e05b That is very annoying I want to get rid of it and understand what causes it. I enable the Show log for key presses and commands but I can't see anything wrong and my debug skills are too weak to go further. ​ Thanks
reclaro · 2022-09-10 08:47
I think I fixed my issue, basically every time I open my shell there is the output from keychain command that loads my key in memory. I changed the command to run in quiet mode and the problem disappeared. I think that emacs was spawing a new shell to perform the find-file operation and because I have the output from keychain, that output was reported in the error buffer (despite there are no errors).