Fork me on GitHub
#emacs
<
2021-10-06
>
danielgrosse14:10:10

Not Clojure but emacs related. I often get Too many files opened errors after a while. I already enabled the server mode on MacOS but this didn't helped. Do you know some solutions for this? How can I see what files Emacs has opened?

vemv14:10:24

when you command + click a buffer don't you see this contextual menu? it shows all open files, grouped per mode

danielgrosse19:10:02

I can switch to the buffer menu but there are only the opened buffers visible. I have the assumption that LSP is opening files in the background which is not visible there. For example when I open a PHP file there is a warning about watching the whole folder will reduce the speed of emacs.

vemv08:10:01

maybe this rings a bell for #lsp folks

vemv08:10:48

I'd be inclined to say that if a buffer has been opened by Emacs then it's visible in that contextual menu if it's LSP that it's doing the opening, that's an external process, so Emacs won't be exactly aware of those files