From: Michael Albinus <michael.albinus@gmx.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: zvrba.external@zvrba.net, 8132@debbugs.gnu.org
Subject: bug#8132: 23.1; comint shell replaces \ in paths with /
Date: Wed, 02 Mar 2011 09:42:47 +0100 [thread overview]
Message-ID: <87tyfl7w1k.fsf@gmx.de> (raw)
In-Reply-To: <831v2qzofj.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 01 Mar 2011 20:27:28 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Michael Albinus <michael.albinus@gmx.de>
>> Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
>> zvrba.external@zvrba.net, 8132@debbugs.gnu.org
>> Date: Tue, 01 Mar 2011 10:02:23 +0100
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> > It could be easier to make a wrapper around the file completion, which
>> > would simply convert all / into \ when the result is inserted into the
>> > shell buffer. That's because working with / is very basic in
>> > file-name completion, and reaches deep into the code and the
>> > primitives it uses.
>>
>> It should respect remote file names. A conversion to \ is not helpful
>> for them.
>
> Sorry, I'm not following: what remote file names? We are talking
> about "M-x shell" with the stock Windows shell. That shell doesn't
> support remote file names at all. What am I missing?
You have the following call sequence:
shell -> make-comint-in-buffer -> comint-exec -> comint-exec-1 -> start-file-process
If default-directory is remote, start-file-process invokes Tramp.
Best regards, Michael.
next prev parent reply other threads:[~2011-03-02 8:42 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-27 13:27 bug#8132: 23.1; comint shell replaces \ in paths with / Zeljko Vrba
2011-02-28 3:32 ` Stefan Monnier
2011-02-28 14:59 ` Zeljko Vrba
2011-02-28 15:47 ` Lennart Borgman
2011-02-28 17:47 ` Zeljko Vrba
2011-02-28 17:57 ` Lennart Borgman
2011-02-28 22:05 ` Zeljko Vrba
2011-02-28 22:32 ` Lennart Borgman
2011-02-28 18:34 ` Eli Zaretskii
2011-02-28 22:10 ` Zeljko Vrba
2011-02-28 23:04 ` Stefan Monnier
2011-03-01 3:54 ` Eli Zaretskii
2011-03-01 4:48 ` Stefan Monnier
2011-03-01 7:06 ` zvrba
2011-03-01 9:02 ` Michael Albinus
2011-03-01 18:27 ` Eli Zaretskii
2011-03-02 8:42 ` Michael Albinus [this message]
2011-03-02 18:41 ` Eli Zaretskii
2011-03-03 9:31 ` Michael Albinus
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tyfl7w1k.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=8132@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=zvrba.external@zvrba.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).