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

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

bug#66093: closed (Eglot over tramp sshfs/sftp)


From: GNU bug Tracking System
Subject: bug#66093: closed (Eglot over tramp sshfs/sftp)
Date: Tue, 26 Sep 2023 17:00:02 +0000

Your message dated Tue, 26 Sep 2023 18:59:19 +0200
with message-id <87o7ho7tw8.fsf@gmx.de>
and subject line Re: bug#66093: Eglot over tramp sshfs/sftp
has caused the debbugs.gnu.org bug report #66093,
regarding Eglot over tramp sshfs/sftp
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
66093: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66093
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Eglot over tramp sshfs/sftp Date: Mon, 18 Sep 2023 19:52:25 +0200
Hi, 
 
I was suggested to contact here from a github discussion https://github.com/joaotavora/eglot/discussions/1294.  
But in short, at the moment, eglot fails to spawn a functioning language server process over tramp when sshfs or sftp is used. 
For sshfs, I see clangd process without stty command on remote, while with sftp eglot doesn't find the path.  
It's probably the limitation of tramp but since the both setup are likely to provide ssh access, can we maybe try to support a such use case?
 
  
Best regards,
Ko

--- End Message ---
--- Begin Message --- Subject: Re: bug#66093: Eglot over tramp sshfs/sftp Date: Tue, 26 Sep 2023 18:59:19 +0200 User-agent: Gnus/5.13 (Gnus v5.13)
Version: 29.2

Ko Nishi <kohnish@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.


--- End Message ---

reply via email to

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