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: Fri, 14 Oct 2022 14:27:48 +0200 Message-ID: <878rlizj23.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> <2d1f17a5-554d-1b1f-7bcb-52e3839d9d0c@gmail.com> <87wn9iehl1.fsf@gmx.de> <00448968-481d-9bdd-b0c8-7bc3d04e5d60@gmail.com> <87fsfzh4if.fsf@gmx.de> <67159bc7-b50c-ed93-ae3e-154b240b9eb7@gmail.com> <87o7ukdggp.fsf@gmx.de> <10e3d9b6-1fd5-c35f-625b-6dc02aa7de57@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7045"; 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 To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 14 14:28: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 1ojJnQ-0001iJ-0t for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Oct 2022 14:28:12 +0200 Original-Received: from localhost ([::1]:57490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojJnO-0000SS-KO for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Oct 2022 08:28:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojJnG-0000SI-Mp for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 08:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37042) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojJnG-0003V1-E8 for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 08:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ojJnG-0001Sq-1W for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 08:28: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: Fri, 14 Oct 2022 12:28: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.16657504785619 (code B ref 57556); Fri, 14 Oct 2022 12:28:02 +0000 Original-Received: (at 57556) by debbugs.gnu.org; 14 Oct 2022 12:27:58 +0000 Original-Received: from localhost ([127.0.0.1]:36120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojJnC-0001SZ-AB for submit@debbugs.gnu.org; Fri, 14 Oct 2022 08:27:58 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:38355) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojJnA-0001SH-Cw for 57556@debbugs.gnu.org; Fri, 14 Oct 2022 08:27:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1665750469; bh=96dTOxXGZEX2KKYgU6ERVS1uz1AJq3C+LNzyzrtnxu8=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=Hd0fqSnijU9zBQWGnxF1FVjfg4YrZNt6G/2GO2EWarw5hF2U8oOmMr+5mK43pyerw ZDq8RIZEEltipFg9RO3fr/iAapb1OVN1atH2lsbgPmc90J/Iaz9yNfSHiwH++9xD0t 60EZEWJWX8ONoyS/Ko32TTUlCI0X7vFdKzPwZVIw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.151.229]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MWics-1ocfwz0rRQ-00X3dB; Fri, 14 Oct 2022 14:27:49 +0200 In-Reply-To: <10e3d9b6-1fd5-c35f-625b-6dc02aa7de57@gmail.com> (Jim Porter's message of "Wed, 12 Oct 2022 21:11:47 -0700") X-Provags-ID: V03:K1:E8wTelloWwE4GGKXC/TDcZ2nyxFboXZDJXARw384hcA90ZuiFIZ 1MpUe8Qn/X1g5GpAPDyHngThMOOwMU3f2dWWFjSJraXYCK9wdwYPSooK6BsXqV9Tfi4xv5i 2ETCAtwP8WkMd66QKslIFJ17T5Ybg+tS5tySpK7oWRAxNJxHbBIUvWpJTZAXiWZ0rSZxWad B+xeQtHNoMCeHZbm48rNQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:zHkiRg55/Lc=:fncWY7kBeHllz7gA+GFO9p pp9dg5WvsD1nJ7/pIneqbM+7hiv5raKXyw6GoIGCfo7dLRoOCVzKE6T1hzAq+Hico94/FY737 2OMxknTJKVQf6uHFd6XgC5qJk4Csyh7ZHon74O4zibsYp6OLPT/mNVyg6wW2bSwBZJO8slfT2 6OmAwwsFRgrd0npDRbfCdzn8tpsMepp/fpPaHvCd6wmJPeAlLMKJQLAApsqCpqpAj1xm9CSw8 xauYA3yTEx8M8CbFYxzBWByqnDjaVoWONpjZiqaARMyTDdvvxPT6kqQMlTw2HZoEs/ZHvNSsv OTm2krPf98I+32elUDawfx0P1Hml+VoK+7O+ob8uo+7uiJ/psKwYwFAgjX9YCVH9tbxL/2BO6 whTEmuYEbFZH82O96TNgDAiAmWlWai0tqikNz4CwLGSKbLvNetZAARzhc+39ygtUb8BWVnN2o WWeku6ejJ5kl/GilLeB4FA0TnmqscxJhTEhS24omOWVJYySGYcKheR8VBi1CnK5gmS6rzNDQD XJktrWGQm0t6ibAL9e7S917oLikJiv8IYSCM1ynAEMTX3U5h9sQ143me4mHNHdJiADUa7vRfn rrtvBSPoJoZjlw96GodQfAkHbncKJ7XnrmhyKZAXrEo2rYTjaeMDep423VK2WdaMuVClMo2ct 44YFtp3Bw4aOropjkBHSJK7JtS6xz4yewQl18AD3KRiVq5TMIF5va7f6eeGRpApOQ89/JQO1F 1xXSQPQbiYkpTov4jhEZtU8ne85C0XoiAlXT80T85KoV33l8kGZ2x96O1AM/XxYamMGWY9XE 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:245423 Archived-At: Jim Porter writes: Hi Jim, All patches look OK to me (patch 0002 in the newer version). Just two minor nits: > [6. text/plain; 0005-Allow-setting-the-values-of-variable-aliases-in-Esh= e.patch] > > +You can set variables in a few different ways. To set a Lisp > +variable, you can use the command @samp{setq @var{name} @var{value}}, > +which works much like its Lisp counterpart. To set an environment > +variable, use @samp{export @var{NAME}=3D@var{value}}. You can also use > +@samp{set @var{name} @var{value}}, which sets a Lisp variable if > +@var{name} is a symbol, or an environment variable if @var{name} is a > +string. Finally, you can temporarily set environment variables for a > +single command with @samp{@var{NAME}=3D@var{value} @var{command} > +@dots{}}. This is equivalent to: > + > +@example > +@{ > + set @var{NAME} @var{value} > + @var{command} @dots{} > +@} > +@end example @var{} produces already capital letters, so you are more consistent with @var{name}. > [7. text/plain; 0006-Improve-handling-of-PATH-in-Eshell-for-remote-direc= t.patch] > > +@vindex $PATH > +@item $PATH > +This specifies the directories to search for executable programs as a > +string, separated by @code{":"} for Unix and GNU systems, and > +@code{";"} for MS systems. This variable is connection-aware, so when > +the current directory on a remote host, it will automatically update > +to reflect the search path on that host. "... when the current directory is on a remote host ..." Perhaps you could also say, that when the current directory changes back to the local host, $PATH is also updated respectively. Best reegards, Michael.