From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ko Nishi Newsgroups: gmane.emacs.bugs Subject: bug#66093: Eglot over tramp sshfs/sftp Date: Tue, 26 Sep 2023 11:03:44 +0200 Message-ID: References: <878r92wqpf.fsf@gmx.de> <87h6nm9jde.fsf@gmx.de> <877coi2i38.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2482"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66093@debbugs.gnu.org, joaotavora@gmail.com To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 26 15:45:23 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ql8NJ-0000Bk-D9 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Sep 2023 15:45:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ql8Mu-0001ME-Gi; Tue, 26 Sep 2023 09:44:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ql8Ms-0001KJ-46 for bug-gnu-emacs@gnu.org; Tue, 26 Sep 2023 09:44:50 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ql8Mr-0007wk-SN for bug-gnu-emacs@gnu.org; Tue, 26 Sep 2023 09:44:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ql8N4-0004xQ-Ff for bug-gnu-emacs@gnu.org; Tue, 26 Sep 2023 09:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ko Nishi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Sep 2023 13:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66093 X-GNU-PR-Package: emacs Original-Received: via spool by 66093-submit@debbugs.gnu.org id=B66093.169573588018982 (code B ref 66093); Tue, 26 Sep 2023 13:45:02 +0000 Original-Received: (at 66093) by debbugs.gnu.org; 26 Sep 2023 13:44:40 +0000 Original-Received: from localhost ([127.0.0.1]:47638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ql8Mh-0004w5-Cb for submit@debbugs.gnu.org; Tue, 26 Sep 2023 09:44:40 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:36441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ql3zA-0005rB-N5 for 66093@debbugs.gnu.org; Tue, 26 Sep 2023 05:04:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.com; s=s31663417; t=1695719024; x=1696323824; i=kohnish@gmx.com; bh=wkalUwTvGO1V9xEREYGwscejjzk34vD56iq2X0e7p24=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Wer/+K7DKXtoo7ixuHV17M6/2BfLNm0my8yMptFVkAyHBr2Mo1d64YYz1MQ11a+8DxK/7Qq1H5T VhQV0SrG39MigvYIcCji2IDX+pixQoQanSreUJ74oqjidZ0fv3/3ZkmvcoppPncXAbMdekxucI/pG hOdzm9vIQEGoEfuFfLzSXwMipvRdJJmIHNuvwiNtSycHY2pbOeyAtATGMK3a0zWruSRGHHA0G/Lfb nmDo2YN6S/GuHSKvcuYXFXfTO3eheKTiirajwX6r6AeYs20mNofU+2i9500RL5Mi2Oe28Uoucn7J2 qmuXyS7mmpy6tcTpYGXzYvP5KMlyM89iwa4g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [147.12.24.3] ([147.12.24.3]) by web-mail.gmx.net (3c-app-mailcom-bs01.server.lan [172.19.170.58]) (via HTTP); Tue, 26 Sep 2023 11:03:44 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <877coi2i38.fsf@gmx.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:hLvz4ckeovl+bfw0RvWyoiQMRc2UrraIuOlV7+cCBJIAwt4IpklRd/6ZlJOXR5+m+gqyf judpobGB2YHFQ5K4c8RN9HR1nrdpAkU7QwwdhchfR/KoPyqwx+s92wKyEL8EEu4/2e7VPzxiREco pSpaOScmaJWrK/ge/ISEYluO1tf0guInBMpTa6s1Jt6tmGGF4a/RCM63flIK/cmXi6GhFTaPX8NQ GJ4VVc5xBP6S/pxPRG2WX73aSbk58xfZYTkZJCL3XBODVkohRyaGlYS7TSWBMQh77khKNfildu1G 74= UI-OutboundReport: notjunk:1;M01:P0:l/1AST4+xPw=;XaiB/2a7rGe5h9nDdPrM6ouJkjM qttxs9JZR/J1PVAKZo63lOcTIsPxUGNM7ddCIfDwL+qQ7lJJOSIy5n0QGLY14FqdI1feETjBc XpfqYdB3lMzwgK+wTM/8wt/SoqqyxJL3ahu4HdCkUAAP99w55MsCvAyi6Lw/2s92nGCeTIKKu T2lk82bpimbGJoHH8kxoLcu7TK52Ai0dKd0+zoXMOa75584oiEh6F50ujfjfPi5TL8dz8oO1W LrwyN3HxGNI/cFSy33iAPehacq+fe//HHyAxNA+0H0urjk6r5g3E8nkN+dIC4+ljBplh6Q5a9 12Bbhr68JWmzIgJ14Lyemf3RN+jSJDttxarkMs00QjUIG/97bF2ob2rEM6y9ZxSLVtp3jLoGV zdvcVn4FSNnyySuiY/OAOatnaZp0M75wXMeP3bMuJdqhhbeWG9s6O7KmJ7hR5VomH17n/4eq/ 8yPUaLtb5oRwKZNROwkOqpT/k8z7NJKXahMbydKq4+DI8eRPBq3RA4r9Uav6X+AJFtb0nN9nc Tva7y72WwTqo8ltRLwn+xLCVizSgQA4KkTur638LiCNO/fADrcbqtYzRyixo7+8GKnmPwKb5l mXC7HwHR9XDgUvYJz57W3oLhkg//SV1NANZ1d/lbSpStrUKTQWRGalPfrrtPhWJaSRcGnnOmy aZ4pMSTK0a2BeDkipXt+l6QeRbpiAc4/IwDFgrUnrRjfg3QNKDKGonCjoi1vr6uwNu1dKrYsN TndxihzcCmE+uo3PkGKaMJ5ypURCJtqQJMNfKpSfD17VWvitSBO++5aGkjsNy+f4XJSlcEYa X-Mailman-Approved-At: Tue, 26 Sep 2023 09:44:37 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271379 Archived-At:
Hi Micheal, 
 
It works pretty good on emac29.1! Thank you. 
 
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. 
 
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.
 
Best regards,
Ko
 
 
Sent: Friday, September 22, 2023 at 8:11 PM
From: "Michael Albinus" <michael.albinus@gmx.de>
To: "Ko Nishi" <kohnish@gmx.com>
Cc: 66093@debbugs.gnu.org, joaotavora@gmail.com
Subject: Re: bug#66093: Eglot over tramp sshfs/sftp
Michael Albinus <michael.albinus@gmx.de> writes:

Hi Ko,

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

Oops, the other part is missing. Pls apply also the appended patch here.

>> Best,
>> Ko

Best regards, Michael.