Brian Cully <bjc@spork.org> writes: Hi Brian, >> It is on my TODO to check how well Tramp is integrated with eglot. Great >> to hear that it seems to work flawless, but I believe there might be >> some hints for performance improvement, like setting >> "direct-async-process" connection property. > > I wouldn't go so far as to say "flawlessly". It does often run into the > "forbidden re-entrant call to Tramp" problem, but that's not unique to > Eglot, and it doesn't seem to cause any problems other than an annoying > message periodically in the echo area. Yes, this is an open problem. I hoped to fix it by using threads in Tramp, but this has other problems. > Otherwise it works pretty well. I've been using it like this for years, > and am pretty happy with it. Great! Since you are a regular eglot+Tramp user, could I ask you for a test? I assume you are using Tramp with ssh or scp. If you also don't use a password (for example via public key authentication), please try the following setting: --8<---------------cut here---------------start------------->8--- (add-to-list 'tramp-connection-properties (list (regexp-quote "/ssh:user@host:") "direct-async-process" t)) --8<---------------cut here---------------end--------------->8--- "/ssh:user@host:" must be adapted of course, and you must set this prior opening a connection to this remote path. This should give you better performance when starting the language server. Does it work for you? Does it make a difference? > -bjc Best regards, Michael.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4