From: Eli Zaretskii <eliz@gnu.org>
To: Jordan Wilson <jordan.t.wilson@gmx.com>
Cc: 33791@debbugs.gnu.org, michael.albinus@gmx.de
Subject: bug#33791: 26.1; Eshell on Windows connecting to GNU/Linux machine using TRAMP and plink: env: ‘c:/home/jordan/test.sh’: No such file or directory
Date: Fri, 28 Dec 2018 20:48:44 +0200 [thread overview]
Message-ID: <83sgyh5vxv.fsf@gnu.org> (raw)
In-Reply-To: <87sgyhtvjc.fsf@gmx.com> (message from Jordan Wilson on Fri, 28 Dec 2018 17:23:35 +0000)
> From: Jordan Wilson <jordan.t.wilson@gmx.com>
> Cc: Michael Albinus <michael.albinus@gmx.de>, 33791@debbugs.gnu.org
> Date: Fri, 28 Dec 2018 17:23:35 +0000
>
> On 2018-12-28 (Fri) at 10:15 (+0200), Eli Zaretskii <eliz@gnu.org> wrote:
> > Jordan, can you test this, please? If this works for you, we will
> > install this on the emacs-26 branch as well.
>
> The patch you provided fixes the "cd" problem for me.
The one I porovided or the variation proposed by Michael? Which one
did you try?
> The "env: ‘c:/home/jordan/test/test.sh’: No such file or directory"
> problem is still there though.
>
> Here's what I've found about that bug: the program path that
> `eshell-gather-process-output' passes to `start-file-process' is run
> through `expand-file-name' to remove potential relative paths. Because
> the path begins with `/', "c:" is prepended on Windows (from looking at
> the C source, I gather this is the function's expected behaviour).
>
> As a test, if I wrap the "(expand-file-name command)" in "(substring
> ... 2)", which in this instance removes the prepended "c:/", doing
> "./test.sh" in eshell works as expected.
>
> Any ideas?
Can you provide a reproducing recipe starting from "emacs -Q"?
next prev parent reply other threads:[~2018-12-28 18:48 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-18 15:00 bug#33791: 26.1; Eshell on Windows connecting to GNU/Linux machine using TRAMP and plink: env: ‘c:/home/jordan/test.sh’: No such file or directory Jordan Wilson
2018-12-22 9:23 ` Eli Zaretskii
2018-12-22 10:25 ` Michael Albinus
2018-12-22 10:38 ` Eli Zaretskii
2018-12-22 12:35 ` Michael Albinus
2018-12-22 14:36 ` Eli Zaretskii
2018-12-22 15:54 ` Jordan Wilson
2018-12-23 12:40 ` Jordan Wilson
2018-12-23 15:58 ` Eli Zaretskii
2018-12-23 16:42 ` Michael Albinus
2018-12-23 16:51 ` Eli Zaretskii
2018-12-27 13:33 ` Michael Albinus
2018-12-28 8:15 ` Eli Zaretskii
2018-12-28 17:23 ` Jordan Wilson
2018-12-28 18:48 ` Eli Zaretskii [this message]
2018-12-28 19:25 ` Jordan Wilson
2018-12-29 9:10 ` Eli Zaretskii
2018-12-29 9:25 ` Michael Albinus
2018-12-29 10:00 ` Eli Zaretskii
2018-12-29 11:12 ` Michael Albinus
2018-12-29 13:43 ` Jordan Wilson
2018-12-29 14:19 ` Michael Albinus
2018-12-29 15:36 ` Eli Zaretskii
2018-12-29 9:14 ` Michael Albinus
2018-12-29 8:18 ` Eli Zaretskii
2018-12-29 8:38 ` Michael Albinus
2018-12-29 9:48 ` Eli Zaretskii
2018-12-29 10:40 ` Michael Albinus
2018-12-22 15:45 ` Jordan Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83sgyh5vxv.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=33791@debbugs.gnu.org \
--cc=jordan.t.wilson@gmx.com \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.