From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jeberger@free.fr Newsgroups: gmane.emacs.bugs Subject: bug#61748: [informatique] Re: bug#61748: 27.2; Eglot should use shell-file-name when launching the language server for a remote file Date: Tue, 28 Feb 2023 10:50:39 +0100 (CET) Message-ID: <1618583304.5683560.1677577839048.JavaMail.root@zimbra60-e10.priv.proxad.net> References: <774021794.15662399.1677224385920.JavaMail.root@zimbra60-e10.priv.proxad.net> 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="16751"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61748@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 28 10:51:18 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 1pWwdh-00047y-QR for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Feb 2023 10:51:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWwdU-0004TT-2u; Tue, 28 Feb 2023 04:51:04 -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 1pWwdS-0004Sn-33 for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 04:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWwdR-0006fv-Qb for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 04:51:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWwdR-0007Z5-Mp for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 04:51:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: jeberger@free.fr Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Feb 2023 09:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61748 X-GNU-PR-Package: emacs Original-Received: via spool by 61748-submit@debbugs.gnu.org id=B61748.167757784629050 (code B ref 61748); Tue, 28 Feb 2023 09:51:01 +0000 Original-Received: (at 61748) by debbugs.gnu.org; 28 Feb 2023 09:50:46 +0000 Original-Received: from localhost ([127.0.0.1]:49755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWwdC-0007YU-Ep for submit@debbugs.gnu.org; Tue, 28 Feb 2023 04:50:46 -0500 Original-Received: from smtp3-g21.free.fr ([212.27.42.3]:31798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWwd6-0007YE-FY for 61748@debbugs.gnu.org; Tue, 28 Feb 2023 04:50:45 -0500 Original-Received: from zimbra60-e10.priv.proxad.net (unknown [172.20.243.210]) by smtp3-g21.free.fr (Postfix) with ESMTP id 3939713F8E2; Tue, 28 Feb 2023 10:50:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1677577839; bh=zkIxcWWWgwpVQ6DiqXSFAYGGitFM8Gr/SIrYC9bkCgg=; h=Date:From:To:Cc:In-Reply-To:Subject:From; b=rQ7Lm5I9GXwlB0yDEqJDVzIkijbq4RNVEpy7f1eK/+yRWG1yi/oqd2eq3rtow8qiQ xwELcmdbZI3u1xt10rulC/NYYJpRs553bV9HLzhkjqSbsgQ9O/ZXK+pKeq5bntZnv7 biYKCwFjbenTWqkVpLquRNVDyHon1CatRRJ9X8Y9R+ZyVudCioytbR4H8sOpq25aGZ j3LOStIXyuDG4ksdA72OPkoGK+bSg31GH8Y2Cp3fGuxq+IQ0WRSvIvzgWDJjyA4E3w 9G2f7CLGbMZuAhgc/8zllHiSQd+ocUu3zMQrfVVVGaTXpft6sNzn2I8T9p2lbXWotw JuVHNyuYrk/Ag== In-Reply-To: <87356qekwn.fsf@gmail.com> X-Originating-IP: [193.240.154.120] X-Mailer: Zimbra 7.2.0-GA2598 (ZimbraWebClient - NAV6 (Win)/7.2.0-GA2598) X-Authenticated-User: jeberger@free.fr 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:256940 Archived-At: > Jo=C3=A3o T=C3=A1vora wrote: > > I don't know what counsel is or how it deals with this issue, but feel > free to share any relevant code here. Even though "make it work" hacks > abound, Eglot promotes separation of responsibilities. Being is core is > great for figuring out exactly where fixes should go. Eglot's business > is LSP. TRAMP accesses remote files. Eglot knows close to nothing > about TRAMP or how it does its file access job. After all the 'T' in > tramp stands for "transparent". >=20 I don't know much about counsel's internals (or Eglot's for that matter), but this comment in the counsel-gtags code seems very relevant: ``` `process-lines' does not support Tramp because it uses `call-process'. Usi= ng `process-file' makes Tramp support auto-magical." ``` https://github.com/emacsmirror/counsel-gtags/blob/1d52eaeffeb60266434d4f741= 6a108ca058fde91/counsel-gtags.el#L337-L338 >From a quick grep it looks like Eglot uses `make-process`, which probably suffers from the same limitations as `call-process` when it comes to Tramp support. J=C3=A9r=C3=B4me