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: Wed, 16 Nov 2022 17:14:25 +0100 Message-ID: <875yfeyizi.fsf@gmx.de> References: <878rkddngy.fsf@ditto.jhoto.spork.org> <875yfgkza3.fsf@gmx.de> <875yfgdscr.fsf@ditto.jhoto.spork.org> <87v8ng6lxe.fsf@gmx.de> <8735ajdqw3.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="3784"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: "Brian Cully via Emacs development discussions." , Pedro Andres Aranda Gutierrez To: Brian Cully Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 16 17:15:11 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 1ovL4B-0000jr-8X for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Nov 2022 17:15:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovL3Y-0000lg-TC; Wed, 16 Nov 2022 11:14:32 -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 1ovL3X-0000gV-6R for emacs-devel@gnu.org; Wed, 16 Nov 2022 11:14:31 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovL3V-0000rx-EE for emacs-devel@gnu.org; Wed, 16 Nov 2022 11:14:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1668615266; bh=es1JyiaDIHQ0pHmerfnkDZTK7omkeiKiS3BYB21zI1o=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=JxqyZiMdqdFUmMJlCjgcYc6n9viE/+JCm2pAsx6DE4OAhWjcVu1YI23ak0XvYpKq6 jglsPV0gIom505J6laKknb41viWmqrQLbJlDtaYx6TrgCcLEeFXswQpRIjdxNHc1LU h1JdpEv5zYY4abdUd2FA3wWfpygIOz34X3JnUXPXXtaiuyGvRSqnd/7sJFQClEPMlH 4kw1C8/Spbmuh7B3gtSMxmIDoPJO61mb2msWVlDjjOMeMwjzNiJO/rH7eVWc2/ryNP kNOBKrh4BFtCUNGlSbc238rt+621mSjf/EuyU3JUIk9zSF0wSCygxrXLqyjZRKDxkR 0yMjQRS1y57VQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.6]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MFsUp-1ojYY11yQB-00HOcV; Wed, 16 Nov 2022 17:14:26 +0100 In-Reply-To: <8735ajdqw3.fsf@ditto.jhoto.spork.org> (Brian Cully's message of "Wed, 16 Nov 2022 07:29:16 -0500") X-Provags-ID: V03:K1:Wdj1yqZBr3jBQp3DWzfgt+IJAyaE2OOlaXYmENyxfXYQYCWniti IIpc4mhNYXrhMDWgahiJsuro77+JYrnIoYCdj+0mGWNePcc3QgHSqG4YnOZ43eoqxh1Gpyl 8hohIR08JXPL3Lmlcb9jzn+tVhmaT9z+VONOV5XZoiiL/PlsxtzY59PU4SoNmCGI5pAC21V 43t9RktepLzK41yIC+DSQ== UI-OutboundReport: notjunk:1;M01:P0:3I3DeBJXTY8=;Yx1Hpel3QokC1AhQbumWvwZ6G8B n9wgpQJk+m8U2NztYqjDkA+FOpLwbupO8dYFIw4fM4pxNaUz4CrVHEBpVQotiJhwDCCkbP+UD dEG/XVIrmhcc79SWE4Izu4r3uWcPAHvE0r+UQmlWQKe/TuPJ874fPZIgTHLZAZIAAabvZaPGS Sb0DZjwkTAiGVKSel+y2ko6hWSEAwT9wVzjXBe/Q1+HCSKyvDNTO8eBbJ+Zh/9qZAlvDnAz/p 8t/kkCUeg9cK6aUH1rWbz4SlQaZPsO0hoHRE8UnyP4y1pUw4llZIlTzPNp27pW6eULClvnGFf nlM0wRhW9S5RdmhmWkpgo2nisFc1+oj7zIt+V9EZ+NUF/dNOeCSeyjlpQLJXRFu9Rffxwf/VV ymdDHcgZbdgeF3E4U7ApvLuqV04YDJxEv8rWryWP0/EeQuhxrlVSf16XL1NzNGDjJpHedw6li /uA4dnZPUWDakmpKpbb56rqEFqJw83mm9r920Rsveyt3nrf96SpNUFi/OcuXq1SXdJQd24uc4 rlbni+eJZGO7Waq2p3cgpbf+E+7psuapomR8jqINR/FRLQ//IcuPcrsgTsZfn+9ePBKlubC35 LvhCCvh1sIepLEMwcsQnsFrs3vgYwX0DkSWJvxoZV2ml3CvLJ0Ltm5PSUW7Id5c+M8wPqDhtr 0//IV989nnveLt3qcOBtSFD2Z8RwKX0ow/5qCBI7Tsqyh6pw0nq3Ou78nKh8ckEKwlm4BW7SH FYskFuIZPSdzjL6o0fHoN4cRrsVS3jfWZ8v2Jt9lZLrrahn9c/sGlqGC2DAKvTHrZE94BRbo Received-SPF: pass client-ip=212.227.17.21; 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:299948 Archived-At: Brian Cully writes: Hi Brian, >> Great! Since you are a regular eglot+Tramp user, could I ask you for a >> test? >> >> I assume you are using Tramp with ssh or scp. If you also don't use a >> password (for example via public key authentication), please try the >> following setting: >> >> --8<---------------cut here---------------start------------->8--- >> (add-to-list 'tramp-connection-properties >> (list (regexp-quote "/ssh:user@host:") >> "direct-async-process" t)) >> --8<---------------cut here---------------end--------------->8--- >> >> "/ssh:user@host:" must be adapted of course, and you must set this prior >> opening a connection to this remote path. This should give you better >> performance when starting the language server. > > I use eglot+Tramp with various containers (nspawn, docker, podman), > which don't support the =E2=80=98tramp-direct-async=E2=80=99 flag, so I'm= not sure how > helpful this testing would be. Good point. I haven't checked docker, podman and friends yet whether they do suuport direct async processes. Short check: they don't yet. I will work on adding this feature in Tramp. > If it's safe enough, I'd be happy to flag support for direct-async in > the methods and do the above test. I'll come back to you when Tramp is prepared. > -bjc Best regards, Michael.