From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded Date: Sun, 18 Sep 2022 11:54:15 -0700 Message-ID: <0480c49e-75da-68c4-d255-242ff65323fe@gmail.com> References: <87h715j5gy.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11855"; mail-complaints-to="usenet@ciao.gmane.io" Cc: coltonlewis@google.com To: Michael Albinus , 57556@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 18 20:55:13 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 1oZzRh-0002xZ-Am for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Sep 2022 20:55:13 +0200 Original-Received: from localhost ([::1]:43288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZzRg-0004di-F6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Sep 2022 14:55:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZzRW-0004dY-LP for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2022 14:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52209) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZzRW-00083F-Cl for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2022 14:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZzRV-0004hy-UJ for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2022 14:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Sep 2022 18:55:01 +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.166352727018054 (code B ref 57556); Sun, 18 Sep 2022 18:55:01 +0000 Original-Received: (at 57556) by debbugs.gnu.org; 18 Sep 2022 18:54:30 +0000 Original-Received: from localhost ([127.0.0.1]:51287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZzQy-0004h5-H3 for submit@debbugs.gnu.org; Sun, 18 Sep 2022 14:54:29 -0400 Original-Received: from mail-pf1-f174.google.com ([209.85.210.174]:45992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZzQv-0004gq-8O for 57556@debbugs.gnu.org; Sun, 18 Sep 2022 14:54:26 -0400 Original-Received: by mail-pf1-f174.google.com with SMTP id 9so14967318pfz.12 for <57556@debbugs.gnu.org>; Sun, 18 Sep 2022 11:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:content-language:in-reply-to:mime-version :date:message-id:from:references:cc:to:subject:from:to:cc:subject :date; bh=dHiYF10HJ9Cx90q60drG04UhJjgctEnhjBMHq4FUes8=; b=e3oD/i5E+lWZqBVrul2q619qc8QfE51l4CQnSdoRqECaA5lyNbgptNd+WZz7HnBsEI Rc4NNF05gCu0zR8SmGBCUNdXsyztJt/XF6PJ7Z5Fz5VqMtgLjlIhwv4Tc3/iRe/gVpgM DzjxpC9wXnIXUH7hbFj+NMWDMO4T9fn8eaNi7C4Cmlxh6oBfR4DiznkAnAdpMzh271Dv YG24XpIiJZiGW0iBzqHDVbRX34bW0qNp+WMN1F812TVwDtbxaM+vBoCqc7vPBcaeIdSH EbPv2QbiwyxL6QID53t3eTZiAVQ6dy9W4iIbwHBD9XeXnoFdgT5WkC+8VYouPeibJTrQ dLXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:content-language:in-reply-to:mime-version :date:message-id:from:references:cc:to:subject:x-gm-message-state :from:to:cc:subject:date; bh=dHiYF10HJ9Cx90q60drG04UhJjgctEnhjBMHq4FUes8=; b=4j1IFjp9ElkseR5HJx4PCNB8jnDbBACTA/vea9jZkAJLhLocd2/t/fb1Q4OSNX699r qjq4swtgt4O2MxTjoeEUjO5Bcj1/4m4lLWF59o++Tonk3ugnYvBflqksD98WLfKtP7Rn 6JOiz5TN1hOU1vPc6B893fnV2TXHMVocwJEMNWCkhZALPyJD7LwUOK6p0mfDumdZ/jZb RfVZmnI76Url6CzXETmuRglmAKKakbg17MYjQ+MG/cSp6imEC3+1VmS+s1pzDdsHCq8c KLi5flkhHJ/us2XwCEFfGQEKBynShNvdmG54V6AVDMnEXQdANYrVbNBeE+2SjvV6MmVw 4jhw== X-Gm-Message-State: ACrzQf2laasYKbr9e+qSTt1a6NIhhhc4rgf1UrzuO9ezs0Mr1kOGZttf 7BNJwQdU28dLXQ1A+YxsahE= X-Google-Smtp-Source: AMsMyM4kITTfXGd3obWVzgG0Ky10Ve2I/yWdqGeRlE8ePoSi3lBFUeTgAk4yk9wV1P7w5sSIOkvIZQ== X-Received: by 2002:a05:6a00:170b:b0:547:3e11:914f with SMTP id h11-20020a056a00170b00b005473e11914fmr14793422pfc.34.1663527258387; Sun, 18 Sep 2022 11:54:18 -0700 (PDT) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id o6-20020a170902d4c600b00177e5d83d3esm19251042plg.88.2022.09.18.11.54.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Sep 2022 11:54:17 -0700 (PDT) In-Reply-To: <87h715j5gy.fsf@gmx.de> Content-Language: en-US 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:243008 Archived-At: On 9/18/2022 4:18 AM, Michael Albinus wrote: > I've fixed this in the emacs-28 branch of the git repository, will be > merged to the master branch next days. Do yo have a chance to test? As > reference, I've appended the patch. For what it's worth, I've started on a more-elaborate patch for this that would move all this into Eshell and allow manipulating Eshell's PATH variable on remote hosts too. (Eshell's codebase already has some special handling for Tramp, so I think it would be reasonable for Eshell to handle Tramp integration here, rather than the other way around.) My patch needs a couple preliminary fixes though so it'll probably take a few days at least until I have something ready for people to look at.