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#65551: 29.1; Eshell on MS-Windows using plink: 'plink' is not recognized as an internal or external command... Date: Mon, 28 Aug 2023 09:47:47 -0700 Message-ID: <3e1db580-d1b3-1c96-ad3c-ba6e95eca8a3@gmail.com> References: <861qfpnb9y.fsf@gmx.com> <87sf84s7bf.fsf@gmx.de> <3792bc23-2bad-8262-c674-26cec9d47b65@gmail.com> <877cpf31hs.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------7bnz9WqHvfkqRh4SybkRHdac" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39883"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jordan Wilson , 65551@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 28 18:49:25 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 1qafQZ-000A8z-N1 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Aug 2023 18:49:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qafQ9-00005q-Mo; Mon, 28 Aug 2023 12:48:57 -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 1qafQ8-00005a-OC for bug-gnu-emacs@gnu.org; Mon, 28 Aug 2023 12:48:56 -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 1qafQ8-0000BN-Fx for bug-gnu-emacs@gnu.org; Mon, 28 Aug 2023 12:48:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qafQE-0002t0-Ei for bug-gnu-emacs@gnu.org; Mon, 28 Aug 2023 12:49: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: Mon, 28 Aug 2023 16:49:02 +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.169324128210804 (code B ref 65551); Mon, 28 Aug 2023 16:49:02 +0000 Original-Received: (at 65551) by debbugs.gnu.org; 28 Aug 2023 16:48:02 +0000 Original-Received: from localhost ([127.0.0.1]:48907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qafPF-0002nw-Jw for submit@debbugs.gnu.org; Mon, 28 Aug 2023 12:48:02 -0400 Original-Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]:54581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qafPD-0002n4-Cd for 65551@debbugs.gnu.org; Mon, 28 Aug 2023 12:47:59 -0400 Original-Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1bdca7cc28dso27153835ad.1 for <65551@debbugs.gnu.org>; Mon, 28 Aug 2023 09:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693241267; x=1693846067; h=in-reply-to:references:cc:to:from:content-language:subject :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=cQf5Q74joFm0vlVz6m/Oczjr/L0wi/KlyY81BisgTrQ=; b=eoY13kK2cjB+QAU4wgbf8rjpat8RAOCp0+gWCo6tzhErLSIEcQ1Wp95f9uPJLRnmWa 0nygCXwwiZ4GOqwB3J3GHnsJBJHqdNdce+yo26eVV08AeDUWIkU4PIytJ43LPI0AXkSR CV1X7nvksuj/5iIMQ+hvb52WL1ppuK+PQD52js0rXrMUFjqGvuMGIq1HJhr5/LycVZWs MHJC4o8MTkiQq8MlR3FKp4UvfF+5qNKvjP9hU666jaG+qDMHsZ02ndBxM6GFMiYhZHYf LH+wTgEWu5ZX4cSaQX6SWoclwI3aJEgzBen/J8wOizyqNqPJERJi2yxUxgTvoLPKxo/f r3Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693241267; x=1693846067; h=in-reply-to:references:cc:to:from:content-language:subject :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=cQf5Q74joFm0vlVz6m/Oczjr/L0wi/KlyY81BisgTrQ=; b=C9STEQwysQcEQkwKVfh3V7YR9go1MUMPycJP/uNu54tvlojGFtoaGr0aKYwOwqMxuj 6wkYfG0RhV3n17+g1lrK5i1WkNffkeQJ1wOrlqxOV3c6X7WG0hU26tKv1cEjYB9RiwwF 1i2rE1UrbwwYoVN8zTCimSEhcvR59uLzE/DFlFZPUfPqSeJPocXJojwzq8BmYdLQ/B8N uff9vJ7G5ko5+nb1s/gqzsUYHOJIkBNPV44jzUwlN8VJd7g/qVmIZNu4WA4Qx560SQ+i yMSBty72em6Y7HVHJImR0aGOQD4qIS+v++JUxNgJjAQAdeUAe8IgZbKVJiUDDJpXHd/B /eyA== X-Gm-Message-State: AOJu0YzJYmw5D08yHnhKTuDH3SJ68sbUzzWTMqk+h3wd1N8zQbq7u0WP qYy9I9VQSaJR1EZb+Dnqbm+hnBRQkEI= X-Google-Smtp-Source: AGHT+IGB8wDoETxOVZ+Cgon8zRIHPVliPcZhGrMEgI0P5ZGvAuEq3FY7Yol6+DxMLLe5qlPweWeZwQ== X-Received: by 2002:a17:902:ce8e:b0:1b8:8223:8bdd with SMTP id f14-20020a170902ce8e00b001b882238bddmr26944360plg.59.1693241266867; Mon, 28 Aug 2023 09:47:46 -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 v11-20020a170902d68b00b001bba1475c92sm7547833ply.113.2023.08.28.09.47.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Aug 2023 09:47:46 -0700 (PDT) Content-Language: en-US In-Reply-To: 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:268639 Archived-At: This is a multi-part message in MIME format. --------------7bnz9WqHvfkqRh4SybkRHdac Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 8/28/2023 9:29 AM, Jim Porter wrote: > On 8/28/2023 3:27 AM, Michael Albinus wrote: >> I've applied the following sledge-hammer patch, which cures the problem >> for me. But I'm pretty sure there are better ways in Eshell to fix this. > > How about something like this? It's a little less invasive (but no less > of a hack). Oops, something more like this (let-binding 'tramp-remote-path'). --------------7bnz9WqHvfkqRh4SybkRHdac Content-Type: text/plain; charset=UTF-8; name="0001-Fix-remote-path-setting-in-Eshell.patch" Content-Disposition: attachment; filename="0001-Fix-remote-path-setting-in-Eshell.patch" Content-Transfer-Encoding: base64 RnJvbSAwMDI1YWU5NDI5ZDk3NTAxYzQ5MzY1MzU5M2JlYjg4ZWM5ZWEwMj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