[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65551: 29.1; Eshell on MS-Windows using plink: 'plink' is not recogn
From: |
Jordan Wilson |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi Jim,
On 2023-08-26 (Sat) at 12:16 (-0700), Jim Porter <jporterbugs@gmail.com> wrote:
> Thanks for reporting this. I can reproduce this issue. Does evaluating the
> 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 remote
> 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.
--
Jordan Wilson
Sent from Gnus v5.13, GNU Emacs 29.1 on WINDOWS-NT
- bug#65551: 29.1; Eshell on MS-Windows using plink: 'plink' is not recognized as an internal or external command..., Jordan Wilson, 2023/08/26
- bug#65551: 29.1; Eshell on MS-Windows using plink: 'plink' is not recognized as an internal or external command..., Eli Zaretskii, 2023/08/26
- bug#65551: 29.1; Eshell on MS-Windows using plink: 'plink' is not recognized as an internal or external command..., Jim Porter, 2023/08/26
- bug#65551: 29.1; Eshell on MS-Windows using plink: 'plink' is not recognized as an internal or external command..., Michael Albinus, 2023/08/27
- bug#65551: 29.1; Eshell on MS-Windows using plink: 'plink' is not recognized as an internal or external command..., Jim Porter, 2023/08/27
- bug#65551: 29.1; Eshell on MS-Windows using plink: 'plink' is not recognized as an internal or external command..., Michael Albinus, 2023/08/28
- bug#65551: 29.1; Eshell on MS-Windows using plink: 'plink' is not recognized as an internal or external command..., Jim Porter, 2023/08/28
- bug#65551: 29.1; Eshell on MS-Windows using plink: 'plink' is not recognized as an internal or external command..., Jim Porter, 2023/08/28
- bug#65551: 29.1; Eshell on MS-Windows using plink: 'plink' is not recognized as an internal or external command..., Jim Porter, 2023/08/28
- bug#65551: 29.1; Eshell on MS-Windows using plink: 'plink' is not recognized as an internal or external command..., Michael Albinus, 2023/08/28
- bug#65551: 29.1; Eshell on MS-Windows using plink: 'plink' is not recognized as an internal or external command..., Michael Albinus, 2023/08/28