GNU bug report logs - #66093
Eglot over tramp sshfs/sftp

Previous Next

Package: emacs;

Reported by: Ko Nishi <kohnish <at> gmx.com>

Date: Mon, 18 Sep 2023 18:11:01 UTC

Severity: normal

Fixed in version 29.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Ko Nishi <kohnish <at> gmx.com>
Cc: 66093 <at> debbugs.gnu.org, joaotavora <at> gmail.com
Subject: bug#66093: Eglot over tramp sshfs/sftp
Date: Wed, 20 Sep 2023 11:14:38 +0200
Ko Nishi <kohnish <at> 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 <at> host:")
                        "direct-async-process" t))
--8<---------------cut here---------------end--------------->8---

> Best,
> Ko

Best regards, Michael.




This bug report was last modified 1 year and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.