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.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:57:30 +0100 Message-ID: <87cz5uop91.fsf@gmx.de> References: <1909672588.15608265.1677223717877.JavaMail.root@zimbra60-e10.priv.proxad.net> <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="9806"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: jeberger@free.fr, 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 Mon Feb 27 20:58:22 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 1pWjde-0002Mo-6Z for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Feb 2023 20:58:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWjdM-0002Ke-G6; Mon, 27 Feb 2023 14:58: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 1pWjdK-0002Gf-JL for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 14:58: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 1pWjdK-0000nU-B0 for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 14:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWjdJ-0001V3-Qi for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 14:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2023 19:58: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.16775278605739 (code B ref 61748); Mon, 27 Feb 2023 19:58:01 +0000 Original-Received: (at 61748) by debbugs.gnu.org; 27 Feb 2023 19:57:40 +0000 Original-Received: from localhost ([127.0.0.1]:48881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWjcy-0001UV-73 for submit@debbugs.gnu.org; Mon, 27 Feb 2023 14:57:40 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:34175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWjcx-0001UF-1a for 61748@debbugs.gnu.org; Mon, 27 Feb 2023 14:57:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1677527851; i=michael.albinus@gmx.de; bh=gJKVFnx5+/e4yf3HVgOZ9N4qVlwsQgXKR+hi7PRX+xI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=n1HK/Yu+baQxiFuGXlipe4e4RQCvyV4P4UXJDgoteSgdJVIV+V8b3t8/MoCfG7LDz HfdPWy5scuOeg3ExpoTQCBgqGg70eM2vT3KJizdGGlHh1toHMxWv6OtQpQJCKJEOsF /nv29cD4EpMKT4QaIfB1Jb7uu9UDJTsbUDy0F8Ergito7FMjpGkKUcnQqNKqomCeu8 gteHP/vUYtn7i85lzYhfVWS5nTA2JkN23ph8XJvbpw9ZNKNjLJr5QJrVIaE0Xwb1T7 UgvNn8KFiDKeI/hO/Yh9eWQdCI3c7In9eVBUEimvE5WZldRN64tTLGYckaW2mPvBTJ QLq7qJ3Foy9tg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.22]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MGhuK-1pK8Qz31gQ-00DmKe; Mon, 27 Feb 2023 20:57:31 +0100 In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Mon, 27 Feb 2023 12:05:23 +0000") X-Provags-ID: V03:K1:JQQnPRouT2y9EyDITqi5+opS/XTbyN10NlS8YA2lt4pke6VVHhs HphtPQs0r+AXEs0qGSo46qn51k2mkgPtrMCC4FbPJqQseuzDh3ikCaXSm+sKZIQ7usrnA2S JO6UVUz2wGGCii2wTVqiqKutU+aXwE6brPZ7zUaqSWrsIJpjCT+wsrnIrov7L3rfnBbYJ6e Ga3QTu6sETPnLAXRKV0vQ== UI-OutboundReport: notjunk:1;M01:P0:8KwaN18Vavg=;r7UW5EMArqq2vwK/o1zlIHs8iNU bXikr6V1ns1I5ERx7u/CunpecIkn9wHETbLkvepl27iS0k/YaGbAIJ3Q8sjadxtPSy5QmpdYF z9kOtisDf2T2JwiERM9hQE48JPghOila0Yocj7aHYWO6c7Gdm2ju/7oCEThcGUhg34k9+4hwI KZ6cpM/RIFTqYEkPcPNmvi8qO9Ne9O6usuVQbH5IvPpd5LrRKclxqpdhmj0IpyqaO9wEOATrz 2Bf59IpL4Up/+NkUKUr98vhkS2B0MdzFad6nJThu2Sii9FetCpbkFe6yVRnUOC9CT+oEc/1wg KO8EvJSdPhtX8rrw3n9kKLwkT+/TOK01gI9MdzBE3BCMMfgn/MfBCU3Tqw1MvR4HbVG7h23Ac oQKwqhR43kHSbp7CjGwqiDaTb5xwhHcGaFG8kbj76j03yhmHyZnvF9VWp30KoSdRtDhlGJIbL ZLEhKSYIEOme0hlK93P5Lrk9Q7vgpyq76C4koFOXSdNSlnbfl+Y1X0ve5Qgtw0xvT4hEgt9Id NBVAZLPFg6psSxBJOUJjq745hKcxzH20yMshwVXU+JCYgmTelmu1SXEqfB6MwnrtWOarDHbyI Y5ywB7EHzjSlSnx69o8CVRbIa1yN0jno3x7cO8aUOHvS5sCFyJRL6oUeYyHVAnIq7qqFaIBzd cebkxZKr3NdJQRdmoH0DYKuRIxmshCt6lwmuqXmT8guE93QN71erJDpiwKx+y5QBD/qoKT9s3 cY1VjXIHYUdBBObhOVEPLwtMx8VPPohX4MGLuFq4ego0V4q6LU6GA9yiWUMT2LYYbzHpBwou 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:256908 Archived-At: Jo=C3=A3o T=C3=A1vora writes: Hi Jo=C3=A3o, > At least in my case, I was able to make Eglot/Tramp work successfully > by adding 'tramp-own-remote-path' to the 'tramp-remote-path' list. > If I do that, everything works as expected. > > 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? > Jo=C3=A3o Best regards, Michael.