[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8132: 23.1; comint shell replaces \ in paths with /

From: Michael Albinus
Subject: bug#8132: 23.1; comint shell replaces \ in paths with /
Date: Wed, 02 Mar 2011 09:42:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Michael Albinus <address@hidden>
>> Cc: Stefan Monnier <address@hidden>,
>> address@hidden, address@hidden
>> Date: Tue, 01 Mar 2011 10:02:23 +0100
>> Eli Zaretskii <address@hidden> 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 -> 

If default-directory is remote, start-file-process invokes Tramp.

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]