From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jordan Wilson Newsgroups: gmane.emacs.bugs Subject: bug#65551: 29.1; Eshell on MS-Windows using plink: 'plink' is not recognized as an internal or external command... Date: Sat, 26 Aug 2023 22:28:56 +0100 Message-ID: <86il91o5lz.fsf@gmx.com> References: <861qfpnb9y.fsf@gmx.com> <8e61bce9-e818-c52c-7478-7c11452735ec@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="809"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 65551@debbugs.gnu.org, michael.albinus@gmx.de To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 26 23:30:17 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 1qa0rJ-000AbV-Cp for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Aug 2023 23:30:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qa0r1-0006U8-5r; Sat, 26 Aug 2023 17:29:59 -0400 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 1qa0qz-0006Tf-8F for bug-gnu-emacs@gnu.org; Sat, 26 Aug 2023 17:29:57 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qa0qz-0003Ra-0N for bug-gnu-emacs@gnu.org; Sat, 26 Aug 2023 17:29:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qa0r3-00039m-RZ for bug-gnu-emacs@gnu.org; Sat, 26 Aug 2023 17:30:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jordan Wilson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Aug 2023 21:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65551 X-GNU-PR-Package: emacs Original-Received: via spool by 65551-submit@debbugs.gnu.org id=B65551.169308535212058 (code B ref 65551); Sat, 26 Aug 2023 21:30:01 +0000 Original-Received: (at 65551) by debbugs.gnu.org; 26 Aug 2023 21:29:12 +0000 Original-Received: from localhost ([127.0.0.1]:43553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qa0qF-00038P-Ul for submit@debbugs.gnu.org; Sat, 26 Aug 2023 17:29:12 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:57179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qa0qD-00038B-2Z for 65551@debbugs.gnu.org; Sat, 26 Aug 2023 17:29:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.com; s=s31663417; t=1693085337; x=1693690137; i=jordan.t.wilson@gmx.com; bh=w0enFuCJeEHA9mfhrwir+9N145iBt+fNzDBKJXD7NIw=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=aj1VoyA3itBsOEWOxVb2l+AAx4+3L8jyrnkEpTHcYSBoE4PL3vbI2wSlfzKH7gUv1DpSANW CvtUW2hBgYpn6eEmNf2dswSwfUFCQfFAS+EcHwopwSeYDBXXKStL9x0xiI7DNmqYQJheSiWmK QbuNgg/AazALkk46uKug0E0P/5jQ5yHjAhUcjcj9klrNYLm8YHcazHvNzCU6fCQy7fKB3w1Jb q3BlXVLCimoJ50fAmwwWxUKj7mVJJaH8KGXVbQ4QsFtqVtXP6Qz3CIOZ9e2qlSZbtDjS6cl6J AbkD3sjYgqQqNhs5vWHWGJGfJdcgvz4Zu3MTVW8IiuB/vOZW1kzQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from A715-WIN ([94.12.224.234]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MLQxN-1qI4Lb3QGJ-00IYmX; Sat, 26 Aug 2023 23:28:56 +0200 In-Reply-To: <8e61bce9-e818-c52c-7478-7c11452735ec@gmail.com> (Jim Porter's message of "Sat, 26 Aug 2023 12:16:12 -0700") X-Provags-ID: V03:K1:xhpMMJbWfKP0AClysWN5tNbzuIm5xqVAhC32URmxHo47kn0YthF IoIAJQtAOrYEWYKmEc/TIAtyyo1y/1kVSJzWtguvlg8VzAK1LerwsWrWyPWrOwCQa3UcZZU VcmmVucLN/tWomvZ0ICzHNJM233a0ydFxf+AVWP8VV67D13PK+vVmomIz17looQzvgP0fm1 1YRJe3gSfH/vZv467Df2w== UI-OutboundReport: notjunk:1;M01:P0:K34S883k2zQ=;z4KmGIYGw2C20S1Vt84rpvZvu8K 9kvcGvpqd2+j/Fg+30mEWtgqU91x7oJqUQh+wd7U7PAEWqSVSBgrX4IPZ657YKEzwz+LENp60 8KWUsferymDp/kUmqvzRxLWDc1bB6svLGd8POnVMTzzYwaMHodVwbq1izHvnaMbge+ksQZR/K APZyP/MmnmQmKE++S9SQBgZvjL0M14Nnnn4Duk1cMi/4vKQ+Ae3GvaJTbiLLWi8kZYYcoXwqd eM9xYlfJKisASMIrFjwKk8xxABZNMPzGvVkdNABZjwdEVMkKGWAKn9ODGd80qeidHHL2Nqa0l Yg7DX/vahMf+9+TJAex7etjK2zjry8YtaC0KRFGInYwwSHYjGBmAT+SpkK6VLmUoDqVV0LyWI CA7qfOGX6NVZQhRabECcwFdX/O85TNQloatqSslw/3RfW5jcrBb1gSF3WTN39Z/vme+4RZ7JR jvUrtgdiwTSoh7cweZjrs3nJDkkAx2D3gOKk2JtUKYq7ZYZc59DLUaM6+9RqCN+gKeleUC+Ee fZHPon8F+77KzFk1Kgz7ZrBd38DkJzzzcYlVzZ5g0mhJbf/MQoDvmeSZf4EfLo5kAvO2Zq0EB 72cTZRBG0RLN6mrYYqyAvrcqGi/W1z5CoEj1FiG9qvXOpx+sUKIyUD9YGvYxl/2TEdZEOby/a z7UigczZrppHgzpResqBdsiCtj2ChUub2SS9A9m86NEPJTaPgIyv30Tz3zQZjosZSMEvH/3dU RmbDmKFByIvbM1OoxL6FlieRkBQc3xjEJjSla+mHNaUhnBfK2V1ysHDA+6Iy11z0ySKMpHxT 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:268521 Archived-At: Hi Jim, On 2023-08-26 (Sat) at 12:16 (-0700), Jim Porter w= rote: > Thanks for reporting this. I can reproduce this issue. Does evaluating t= he > following work? > > (setf (alist-get 'tramp-login-program > (alist-get "plink" tramp-methods nil nil #'equal)) > (list (concat "\"" (executable-find "plink") "\""))) > > If so, I think I've identified the bug: in 'eshell-gather-process-output= ', we > set the 'process-environment' to Eshell's environment variables. In a re= mote > directory, this includes the remote PATH. However, that confuses Tramp, = which > uses that remote PATH to look for the local "plink.exe". I can confirm that snippet does resolve the problem. =2D- Jordan Wilson Sent from Gnus v5.13, GNU Emacs 29.1 on WINDOWS-NT