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: Mon, 27 Feb 2023 20:07:24 +0000 Message-ID: References: <1909672588.15608265.1677223717877.JavaMail.root@zimbra60-e10.priv.proxad.net> <774021794.15662399.1677224385920.JavaMail.root@zimbra60-e10.priv.proxad.net> <87cz5uop91.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000c2067005f5b407b7" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21686"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jeberger@free.fr, 61748@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 27 21:08:13 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 1pWjnA-0005RS-Q1 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Feb 2023 21:08:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWjn1-0002Hd-Ov; Mon, 27 Feb 2023 15:08:03 -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 1pWjn0-0002HQ-E0 for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 15:08: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 1pWjmz-0003Ep-U9 for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 15:08:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWjmz-0001li-Kr for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 15:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2023 20:08: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.16775284656774 (code B ref 61748); Mon, 27 Feb 2023 20:08:01 +0000 Original-Received: (at 61748) by debbugs.gnu.org; 27 Feb 2023 20:07:45 +0000 Original-Received: from localhost ([127.0.0.1]:48895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWjmj-0001lB-0R for submit@debbugs.gnu.org; Mon, 27 Feb 2023 15:07:45 -0500 Original-Received: from mail-ot1-f50.google.com ([209.85.210.50]:44712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWjmg-0001kw-B7 for 61748@debbugs.gnu.org; Mon, 27 Feb 2023 15:07:43 -0500 Original-Received: by mail-ot1-f50.google.com with SMTP id l13-20020a0568301d6d00b0068f24f576c5so4231803oti.11 for <61748@debbugs.gnu.org>; Mon, 27 Feb 2023 12:07:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677528456; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tzh7zna7ifbV64MlJede1ZxCwJq0CSzpWk9oRta15p8=; b=ZaIsaVusiEo3cUT7RLs+d6iVJcQlkdaz3S+sHixW6ABPKbH8gqXVoTCutDKdCqt+Kr UX31856YMtTxwtFzB1B3I9gnsY7aO7rxqvBRTiMjn66TQYk+QbUozMl9vil04CC6AN9h EwqzHe5H9TvWuFMT3r0Ij61pa8Cj+jaev0VNplptOykOYM/l7DrnqucXqiVTSrrSwF2A Yoq8RfmSCWS4G16oVZgFCSxLJKzMaF2ECmIfGUtMQMJMdV+tkbk/XKzUmjPNygTApW4K eybHfXGYcJW880kSZYbHDgaJ/y9Ll+EIjtZjKOZxwL7rEnDyDpJ90Y0TCLuAS7+T8Y6c IYPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677528456; h=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=tzh7zna7ifbV64MlJede1ZxCwJq0CSzpWk9oRta15p8=; b=jeMoL69HeN0Ffxnad25RoSxFiHJFuDq5fy4Bcyl1rx7W75WkJIgAvTUH6HaUeo6nHO P7mq4wKuT2YTvOQ/5jeUjmwcvdG27CBpGDX38PUBy2PEVvRxCcJv4pw69g/lOyUITpO1 A7hrPs7r4qBlhmqDDSBQ2TLBvkZ2/DySAH47io6P9mHJbRA5e1NL1GZPobpwswgLrS8f gHSDhgZzWi8eMbybJGIz9a7JVxK96esCoJcIAeXK84ev519CJh+G+iYhLSa1yOS3/Is7 j7nj3QiHT2LZ8ie2JnDWh2tjvtGKP1Vw7QAAgwdSbOIq2xu5jpnh0j/ypJRkrleEnThS lZxg== X-Gm-Message-State: AO0yUKX78eqXHRhVMoqLjxibcE65cZ8lhlmPPFIO4DuqQTsHiipXQA5Y Ot+WDeZHcXkRNb9kig1AbaaR6CpO0GlNfx0oQyE= X-Google-Smtp-Source: AK7set/2qJXG+UWtqIZn2alEeDzKR944MDXBDuKHpyiCdtUPrOkJRP+GkCctVobOiY9cde+yOr2/3FPdCpSFWGsnTbk= X-Received: by 2002:a05:6830:6210:b0:693:ce5a:7a72 with SMTP id cd16-20020a056830621000b00693ce5a7a72mr412166otb.0.1677528456626; Mon, 27 Feb 2023 12:07:36 -0800 (PST) In-Reply-To: <87cz5uop91.fsf@gmx.de> 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:256911 Archived-At: --000000000000c2067005f5b407b7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Feb 27, 2023, 19:57 Michael Albinus wrote: > > > In my case I was using simply a /bin/sh on the remote server > > and the user had a ~/bin directory that her ~/.profile adds to PATH. > > But without the 'tramp-own-remote-path' fix, the shell used by Tramp > > is not interactive and thus won't consider ~/.profile at all. > > Why don't you add (the expanded) ~/bin to tramp-remote-path? > I did, but it did not work reliably, Michael. Only sometimes. I will try again though. Jo=C3=A3o --000000000000c2067005f5b407b7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Feb 27, 2023, 19:57 Michael Albinus <michael.albinus@gmx.de> wrote:
=

> In my case I was using simply a /bin/sh on the remote server
> and the user had a ~/bin directory that her ~/.profile adds to PATH. > But without the 'tramp-own-remote-path' fix, the shell used by= Tramp
> is not interactive and thus won't consider ~/.profile at all.

Why don't you add (the expanded) ~/bin to tramp-remote-path?

I did, but = it did not work reliably, Michael. Only sometimes.
<= br>
I will try again though.
=
Jo=C3=A3o
--000000000000c2067005f5b407b7--