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


Message #17 received at 66093 <at> debbugs.gnu.org (full text, mbox):

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: Re: bug#66093: Eglot over tramp sshfs/sftp
Date: Fri, 22 Sep 2023 20:02:21 +0200
[Message part 1 (text/plain, inline)]
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.

Well, after all it was a perfect shot! The "-t -t" ssh arguments have
prevented the pipe process, eglot is using, to work properly.

Could you pls test the appended patch? It is on top of the emacs-29
branch of the Emacs git repository, but it should apply also on the
Emacs 29.1 sources.

> Other than that many other things aren't working like vc-root-dir,
> finding PATH and etc.
> I'll try to understand the code and play around later.

Yep, that's still open. Perhaps my patch improves the situation, because
it suppresses the "-t -t" arguments only for pipe processes.

> Best,
> Ko

Best regards, Michael.

[Message part 2 (text/x-patch, attachment)]

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.