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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ko Nishi <kohnish <at> gmx.com>
Subject: bug#66093: closed (Re: bug#66093: Eglot over tramp sshfs/sftp)
Date: Tue, 26 Sep 2023 17:00:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#66093: Eglot over tramp sshfs/sftp

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 66093 <at> debbugs.gnu.org.

-- 
66093: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66093
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: Ko Nishi <kohnish <at> gmx.com>
Cc: 66093-done <at> debbugs.gnu.org, joaotavora <at> gmail.com
Subject: Re: bug#66093: Eglot over tramp sshfs/sftp
Date: Tue, 26 Sep 2023 18:59:19 +0200
Version: 29.2

Ko Nishi <kohnish <at> gmx.com> writes:

> Hi Micheal,

Hi Ko,

> It works pretty good on emac29.1! Thank you.

Thanks for the feedback. I've pushed the patch to the repositories,
slightly modified. It will appear with Emacs 29.2 as well as on GNU ELPA
later this week, as Tramp 2.6.1.3.

> The only thing it doesn't work is vc-root-dir on a current file.  Like
> within sshfs eshell, it returns properly, but according the
> interactive functions in my init.el that does work based on current
> file, it returns nil.

Yes. tramp-sshfs.el does not offer an implementation for
`vc-registered'. To be precise, it offers the function

--8<---------------cut here---------------start------------->8---
    (vc-registered . ignore)
--8<---------------cut here---------------end--------------->8---

Therefore, all files are not under VC control. This won't change.

> Btw, indeed, you might be right about async option, but sshfs "might"
> performce nicely for go to definition for eglot sometimes, but it's
> just an impression, I could be totally wrong if I actually measure it.

Pls tell me if you see more optimization knobs to be implemented. ATM, I
believe we have done what's possible with this bug, so I'm closing it.

> Best regards,
> Ko

Best regards, Michael.

[Message part 3 (message/rfc822, inline)]
From: Ko Nishi <kohnish <at> gmx.com>
To: bug-gnu-emacs <at> gnu.org
Cc: michael.albinus <at> gmx.de, joaotavora <at> gmail.com
Subject: Eglot over tramp sshfs/sftp
Date: Mon, 18 Sep 2023 19:52:25 +0200
[Message part 4 (text/html, inline)]

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.