bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66093: Eglot over tramp sshfs/sftp


From: Michael Albinus
Subject: bug#66093: Eglot over tramp sshfs/sftp
Date: Wed, 20 Sep 2023 11:14:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Ko Nishi <kohnish@gmx.com> writes:

> Hi Michael,

Hi Ko,

> Without really understanding the code, If I copy the list from the ssh
> section of tramp-sh.el:245 and remove ("%c"), it started work after
> manually telling eglot to start clangd manually on propmt.
> Eglot is noticeably faster than using just ssh or sshx on a server
> 80ms ping away.

Remote processes with sshfs are configured to use the direct async
connection by default (see the Tramp manual, section "Improving
performance of asynchronous remote processes"). You can achieve the same
with ssh connections by setting the "direct-async-process" connection
property, like

--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---

> Best,
> Ko

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]