From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: eglot and tramp Date: Tue, 15 Nov 2022 16:33:56 +0100 Message-ID: <875yfgkza3.fsf@gmx.de> References: <878rkddngy.fsf@ditto.jhoto.spork.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3102"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Pedro Andres Aranda Gutierrez , Brian Cully To: Brian Cully via "Emacs development discussions." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 15 16:34:46 2022 Return-path: Envelope-to: ged-emacs-devel@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 1ouxxW-0000SA-FU for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Nov 2022 16:34:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouxwt-0004re-ED; Tue, 15 Nov 2022 10:34:07 -0500 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 1ouxwp-0004q0-Tm for emacs-devel@gnu.org; Tue, 15 Nov 2022 10:34:03 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouxwo-0007vA-3Z for emacs-devel@gnu.org; Tue, 15 Nov 2022 10:34:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1668526437; bh=wfGL3I9Vrk25f00t2EeDJPQMWS53k4c4ytMxYIUJks8=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=eY95Gj8ft718IEonM3eTjvIiJc2k1x/ubaa6UzParOj3w+jj6HkWhxdV5FkqOeo5K Xx9L1aIxppuwc9O2RiAhVD1im28QvAc3zliyzGABN4/f6JXi4WDAlSGzO20iowb7so 57n8Et9IBvIazGrcHMQody3WJAmKoei0op12bay/Tg4wNZaRhVceiKqlkqnVxDUBP8 RkDuQH35LcvN1Lpdl1viSKen0QbxBLeZ/n6iu1UAfh33ErAucMOkhyEcvf29aHTA9+ FEvSo3ebgBJPia/tToZcWh4sZbjlPDHXvX+TQd2hm1ZNtfu4toGf1QPs/bwtjpI+vN K6qaKSV7UVSnA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.14]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MGz1V-1ogtJm2qlH-00E7Oo; Tue, 15 Nov 2022 16:33:57 +0100 In-Reply-To: <878rkddngy.fsf@ditto.jhoto.spork.org> (Brian Cully via's message of "Mon, 14 Nov 2022 20:18:37 -0500") X-Provags-ID: V03:K1:FpcczD77+B5KTMW8hvLGS5J+9YgqyaN3tCD7iH3AI38GYn8IcOY 8s5pubeNVwVS0u+FowE3xRXDNeX31MwZwJ1L6jChQR15RK19wX2eG1JIa+pdpTWOLkD1PJk +9ASOKPzhtb1L2ajSks7GXvHlDgVfE9VgHWPBqGYcuEu7jnzH9oC05J1H5T8BsaLL0mB2s5 fOJpKpSjd26aiGCAOzrMg== UI-OutboundReport: notjunk:1;M01:P0:e8Wq1iT8KSA=;t3xdpVrozmt46j3tx26uG04PBnt rzOgozlBlLOTKBh6CyHs8a7wQ0duxk4yxTs3Fib5sihcKh8zUqwabt/r670lrICe1elL+R1j5 GPQvsjzGg1Zlu9aDMxqYxuO3wawZRGgPFR5EdBFPzzc1xosaqG+EODNmobSJtVWLXPd9pA3Q2 eWxvaoUzOGbwYilr0Q6cFcAwOdhmAKh6tJlt6inZFHqzhHwpDFPeXQI78oxfshHBAoWvw1xtB lUMvomAu0RMaVXwm7vP5hV6Y3OgPzrtzLskq+OPfcsx2Pa2HxiOig6gaeYHIjPnC1NdfZOnYl YGob64VSw3UJcHMq4SvJoZRjuuGiBCKrlVt9KTVo/umxxFARK4XkInm6DyYkDfWh7D6vGOpUE rpenoUmN6L8eODnBUv7vq6VGEw1bhRuxGARyxgylW9fQbiXXerHiUFDOne/r3xFDcmcUGTgjR 6D5hq084F4FUw70P3vdXTBH9SxWjeJLUE+kfjD/x7KWO6Plb7sE2D5n/5W2ViuZ6SRDnTrZQd Mh1PDrIpFVgZSaHb6/6fnJmqBx6FTVHn/nChk5ADt2o7V8t9P7h57gwYnKQZspQS+tZDLfbwG oMfMta2KjreL239EivtW8lScthmNqRBv3muMMOXTR0Kbb937Ic6zAkIZSr1b/+oTcbUZYGlPw LlqSia0MKQLBu5LYMa7wNpiXO6bmrYBfwFbuWb5GJb/qFTkdL2GpTqrXSuslZ8kytFadzlcqv I8mSaaMxnwVE9m8dUDLPwZKmUTUundtt0fEX8tohpvrB4TF4SIyJ1wt6KWAYlBzByOa8xulD Received-SPF: pass client-ip=212.227.15.18; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299851 Archived-At: Brian Cully via "Emacs development discussions." writes: Hi, >> I'm looking for some advice on using eglot in a remote TRAMP editing >> session. I have a couple of scenarios where I'd need to access a VM and >> edit Python code residing inside. Having a Python LSP that can help me in >> this use case would be really great. >> >> Since there is nothing in the eglot manual about this scenario, I'm aski= ng >> for enlightenment here > > As long as the language server is installed on the remote, it should > Just Work=E2=84=A2. > > You may need to add =E2=80=98'tramp-own-remote-path=E2=80=99 to =E2=80=98= tramp-remote-path=E2=80=99, > depending on where the LSP is installed, however. It is on my TODO to check how well Tramp is integrated with eglot. Great to hear that it seems to work flawless, but I believe there might be some hints for performance improvement, like setting "direct-async-process" connection property. When time permits I'll go through this, and I might contribute some few words to the eglot manual. > -bjc Best regards, Michael.