From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33791: 26.1; Eshell on Windows connecting to GNU/Linux machine using TRAMP and plink: env: =?UTF-8?Q?=E2=80=98c:/home/jordan/test.sh=E2=80=99:?= No such file or directory Date: Sat, 29 Dec 2018 11:48:23 +0200 Message-ID: <83bm5464uw.fsf@gnu.org> References: <87pntyanho.fsf@gmx.com> <83zhsxap9i.fsf@gnu.org> <875zvluaby.fsf@gmx.de> <83r2e9alte.fsf@gnu.org> <87woo0s9g1.fsf@gmx.com> <83woo08cb7.fsf@gnu.org> <874lazqekr.fsf@gmx.de> <83h8ew691e.fsf@gnu.org> <8736qgsp5s.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1546078006 11422 195.159.176.226 (29 Dec 2018 10:06:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 29 Dec 2018 10:06:46 +0000 (UTC) Cc: jordan.t.wilson@gmx.com, 33791@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 29 11:06:42 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdBVw-0002oO-Sw for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Dec 2018 11:06:41 +0100 Original-Received: from localhost ([127.0.0.1]:35588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdBY3-0001N4-FF for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Dec 2018 05:08:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdBXu-0001Ld-W0 for bug-gnu-emacs@gnu.org; Sat, 29 Dec 2018 05:08:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdBUO-00041H-Lt for bug-gnu-emacs@gnu.org; Sat, 29 Dec 2018 05:05:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45817) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gdBUM-00040U-QO for bug-gnu-emacs@gnu.org; Sat, 29 Dec 2018 05:05:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gdBUL-0000EI-Rc for bug-gnu-emacs@gnu.org; Sat, 29 Dec 2018 05:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Dec 2018 10:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33791 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33791-submit@debbugs.gnu.org id=B33791.1546077868837 (code B ref 33791); Sat, 29 Dec 2018 10:05:01 +0000 Original-Received: (at 33791) by debbugs.gnu.org; 29 Dec 2018 10:04:28 +0000 Original-Received: from localhost ([127.0.0.1]:40851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdBTn-0000DR-TO for submit@debbugs.gnu.org; Sat, 29 Dec 2018 05:04:28 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdBTl-0000DE-MR for 33791@debbugs.gnu.org; Sat, 29 Dec 2018 05:04:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdBTd-0002S6-A9 for 33791@debbugs.gnu.org; Sat, 29 Dec 2018 05:04:20 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdBEY-00041H-4H; Sat, 29 Dec 2018 04:48:42 -0500 Original-Received: from [176.228.60.248] (port=4798 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gdBEX-0007Ix-MQ; Sat, 29 Dec 2018 04:48:42 -0500 In-reply-to: <8736qgsp5s.fsf@gmx.de> (message from Michael Albinus on Sat, 29 Dec 2018 09:38:55 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153981 Archived-At: > From: Michael Albinus > Cc: jordan.t.wilson@gmx.com, 33791@debbugs.gnu.org > Date: Sat, 29 Dec 2018 09:38:55 +0100 > > Eli Zaretskii writes: > > >> I've tried to debug it, but no chance to do it on Windows. > >> Debugging C sources is a no-go for me there. > > > > Can you tell why? I do that all the time, so maybe I could help. > > When I can find a WIndows machine, I can install Emacs and debug Lisp > sources. Installing a C compiler, building Emacs from sources, and > debugging C sources under Windows is out of my scope, on a borrowed or > stolen machine I have under my control for a short time. Ah, okay. Did you try to make an installation with a debugger and a compiler on a portable device, like DoK? > >> > + (or > >> > + ;; locate-file doesn't support remote file names, so detect them > >> > + ;; and support them here by hand. > >> > + (and (file-remote-p (expand-file-name dir)) > >> ... > > > > You mean, testing file-remote-p _in_addition_ to the tests I proposed? > > No, instead of file-name-absolute-p. Fixed, thanks.