From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#61748: 27.2; Eglot should use shell-file-name when launching the language server for a remote file Date: Tue, 7 Mar 2023 10:15:13 +0000 Message-ID: References: <1055906941.11380565.1677658193477.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="18971"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Albinus To: jeberger@free.fr, 61748-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 07 11:14:29 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 1pZUKy-0004nq-TG for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Mar 2023 11:14:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZUKd-0008H3-Fp; Tue, 07 Mar 2023 05:14: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 1pZUKZ-0008DT-18 for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 05:14:03 -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 1pZUKY-0001yU-PZ for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 05:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZUKY-00048d-K9 for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 05:14:02 -0500 Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Mar 2023 10:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61748 X-GNU-PR-Package: emacs Mail-Followup-To: 61748@debbugs.gnu.org, joaotavora@gmail.com, jeberger@free.fr Original-Received: via spool by 61748-done@debbugs.gnu.org id=D61748.167818401615850 (code D ref 61748); Tue, 07 Mar 2023 10:14:02 +0000 Original-Received: (at 61748-done) by debbugs.gnu.org; 7 Mar 2023 10:13:36 +0000 Original-Received: from localhost ([127.0.0.1]:44530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZUK7-00047Z-LD for submit@debbugs.gnu.org; Tue, 07 Mar 2023 05:13:35 -0500 Original-Received: from mail-oi1-f173.google.com ([209.85.167.173]:38818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZUK5-00047J-7D for 61748-done@debbugs.gnu.org; Tue, 07 Mar 2023 05:13:34 -0500 Original-Received: by mail-oi1-f173.google.com with SMTP id bg11so9205504oib.5 for <61748-done@debbugs.gnu.org>; Tue, 07 Mar 2023 02:13:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678184006; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xpJT4Ve9Y6xh2L5DPmmsqe+XEUXpahTY2jEZ4hDQVoU=; b=YUOLo4sMrBdMRUqFzcUKFN8A9FFcXx2VCyUWNKpSLmYXd6hHdAFXqbidYZBBdGpjYD sH9tZWRxhtv3s7BCYyoBvdiZfeYFu6/+Qycihh4Q4HB8MOUvyhJeQZSZtUzvCmsAdwQd d8y0FMC6WO1JzsmyfNCPA/NEPDI5FueFgHHPbAHk9hBqteZi51NRXqGF4fNPpiqBPvUC CqCsO6L5Mb8V+nOCQtXRtoWlDk6utcaRwW2SRYoJQ9Np8U7odgj1DNtGWwobJjTHzwvp QPCK7wT1HO4G1+6WnYDF0PgBLm9c9gf5ciJfQxxfwrYICpanJsILPrNE6ChtYBVEHYJn IxLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678184006; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xpJT4Ve9Y6xh2L5DPmmsqe+XEUXpahTY2jEZ4hDQVoU=; b=E3LYHLkYp/XKzHeRXIsmqfOn3E8L6vazxlqHE7eJqCHudCHxZ5f2fuy/ic3a/jB5qF 4Ha2gI14+o2uXUd2dW1aHVTv35gAXsv3zfp2qpU3CMxoK73dYnL0HOK89KlZ6y0xtgMh WZXdRTx2fy4guPeDN92Iy83N3De54fSJlszd9LoqfuduH91rsWAMwoLeIg7iY/hrJ3Pe v6XMaMt89VpgD9v+0dAoIIBO0OChO4EOm9JtoR2HE0bTv06aXz8aZgKzfbLaTq84Exvq YHkvOzP2n9XRGasrg/vlpcSBlNK3U1yojvGwhB6ktVJUJK8WOoz7xlRnrFH5oUTrCnZM dkJQ== X-Gm-Message-State: AO0yUKUSNXqv1SzisymIL47g1crzm76PACjcgzKzFOiDHnbjHLFKdfgV KQXSXhcLA8VqTx90sbuCCs5K0vUi/lMfPT3/zg0= X-Google-Smtp-Source: AK7set+EkRMcy9bbmfo8OtcsInrE/SKNkYo0pETVBOzsPUEglMlVVFwuvB3BSUzKAL43iZLNapR+o9TZ5ibOXOVJCCo= X-Received: by 2002:a05:6808:7c5:b0:37f:a3b7:c877 with SMTP id f5-20020a05680807c500b0037fa3b7c877mr4598435oij.8.1678184006494; Tue, 07 Mar 2023 02:13:26 -0800 (PST) In-Reply-To: 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:257437 Archived-At: On Thu, Mar 2, 2023 at 1:28=E2=80=AFPM Jo=C3=A3o T=C3=A1vora wrote: > > On Wed, Mar 1, 2023 at 8:09=E2=80=AFAM wrote: > > `tramp-own-remote-path` and making sure that it is set correctly > > fixes my point 2, but then `rust-analyzer` doesn't have the path set an= d > > so fails to find the Rust toolchain. > > AFAIC is a different problem now. Earlier, the program couldn't be invoke= d > at all. > > > So my patch is still required to fix that part. > > I've pushed a simpler patch to emacs-29. Please test. I'm going to assume the lack of reply is because the problem doesn't happen anymore. It doesn't in my tests, but my remote language server in the remote $HOME doesn't rely on PATH to figure out the toolchain and thus doesn't suffer from this vulnerability. Closing. If the problem persists, we can reopen. Jo=C3=A3o