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#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded Date: Sun, 02 Oct 2022 10:55:36 +0200 Message-ID: <87sfk6eh9z.fsf@gmx.de> References: <87h715j5gy.fsf@gmx.de> <0480c49e-75da-68c4-d255-242ff65323fe@gmail.com> <87czbsjyby.fsf@gmx.de> <877d1vthto.fsf@gmx.de> <871qrrffzj.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28083"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 57556@debbugs.gnu.org, coltonlewis@google.com To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 02 10:56:12 2022 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 1oeulg-0007Cl-2O for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 10:56:12 +0200 Original-Received: from localhost ([::1]:60744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeule-00045Z-IB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 04:56:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeulX-00045Q-Ux for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 04:56:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47178) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeulW-0007aF-IK for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 04:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeulW-0003KQ-Dj for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 04:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2022 08:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57556 X-GNU-PR-Package: emacs Original-Received: via spool by 57556-submit@debbugs.gnu.org id=B57556.166470094712768 (code B ref 57556); Sun, 02 Oct 2022 08:56:02 +0000 Original-Received: (at 57556) by debbugs.gnu.org; 2 Oct 2022 08:55:47 +0000 Original-Received: from localhost ([127.0.0.1]:46256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeulH-0003Js-BT for submit@debbugs.gnu.org; Sun, 02 Oct 2022 04:55:47 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:32895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeulG-0003Jg-A4 for 57556@debbugs.gnu.org; Sun, 02 Oct 2022 04:55:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1664700939; bh=kEgzt5xLHUrvt9wjn3pD2IbxqP2k9/6Kpt+d0GIOS2c=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=ZhJv/3jJSJXYoQ2umDTYxA85f+L0EHr7QYg2ot/YGQxfbR9BTL8NNX4K+/N6j8/Sl RC6msEYGaZt7aPOVzIjJIvtEusOe5LcLSSOo3sr5CgIH1bcqt6puQjrukzdGWhsG7i aiKSsRyXBxpeRLTyWlm5C9ceJcOcBcL12QJ7CURc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.112.152]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N33Ib-1pLeek0KRJ-013Nog; Sun, 02 Oct 2022 10:55:39 +0200 In-Reply-To: (Jim Porter's message of "Sat, 1 Oct 2022 15:02:04 -0700") X-Provags-ID: V03:K1:fMNR3WMK60hdlmFM5LlZpiEcfifIZa/WlJMdYb2lX1fgK12oDiV SN08lA+SREbcMqTzE+Pl65xhMH3t1US2149V8LysfnkZc73CLwHfPytPmiqW6YLIwWnOabk JZ0/g7yC+8rggThbzHG9JzfLAXfdq5ob1VaB8ib/4eyv+LxoBmMuvZQ/KKHfjWHS/OcgVbx gmXT1qliACUKyD2DGCcSQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:+ZsoNSsotYM=:yzGSu+9+7+/JH/uezDYQki Mec66g0cmpCCCVtYUTUQ1fJ6xV5dv+sDN+VzEl8fSP8HQzdXWGVmxfl5iK1cz7Q1rLUImRVvL Aam0EZZOlpwnSs+qDLH4SH6ENRWrrniL4zSlOLmKuhgVkDEaUFFRvTuYS0C3ZxineuqRS3QRX iVBvgWBofe+LYv55esGf2zw7rzbxwmA9qcuvWE4+Olc+qeXNP8YNUEsGmGmHGZoLW3das/36E 10RcxqkCte8FtUBGw4WTJrQ893yBV5f3BdjbVNZTFjYZ+eEKYe7v8PLbGPmVuqGsy/5M1ijwX RfeMUXJlYLbIxFa/8juXW85cDgp+pLz1ajotxiJM+PZMafkgAvEimegDBh7rFYXsn+K+yBjMe XC0a4HYRCe9a4CZzhFdrgmS2O30fZIsFgmERsd+XL0jv3ojKVb8eqJAT5E8GEZ9FzjqEATBg/ PrYI4ETk5GDmRjvECaQBD/uBZlkQjubozM0T74lUAWfShNDhkaMe4bBBZMIRlRtmI49E2uaHg 9n2oh+TDJ7jIaszuYy9Bq75TXhc+4K9aVGm/cXfpFMvw9AhXz2biWsxqoCuq08jeUJ3OZqMpj Us1/B8CHotrkRMe40jj/rkUeln4vzLIvu1CLWyU4pley0D9j0d16R0h1fVEt4v61wnBrRBn8U SbzLmKVovO+DskZC9DI42cmBEEtquqAluG2DtJ3ihwAKEJKcIPQ1SAC/F/s0MSD3lQJtq4usx u8nwjHPIzp/6fhbf/4Rrjz7Uau+iMNwhJEVNvNjvl4MX+INahYqP0x2V7EVPERy5xHfCf8wd 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" Xref: news.gmane.io gmane.emacs.bugs:244189 Archived-At: Jim Porter writes: Hi Jim, > I'll take a look at doing that. As I understand it, connection-local > variables are cleared if the associated connection gets cleaned up, > right? I wonder if that would be the right thing to do. For example, > if I cd into a remote host in Eshell, then update Eshell's $PATH for > that host, then clean up the connection, should the $PATH be reset to > the default for that host? I'm really not sure... Connection-local variables have their own meaning, they are not bound to Tramp connections. Tramp is just one application using them (but perhaps the major one). Even using default-directory as indicator is not fixed. It happens, if you use connection-local-criteria-for-default-directory as CRITERIA here and there. But you can compose your own CRITERIA if you like. Best regards, Michael.