GNU bug report logs - #8132
23.1; comint shell replaces \ in paths with /

Previous Next

Package: emacs;

Reported by: Zeljko Vrba <zvrba.external <at> zvrba.net>

Date: Sun, 27 Feb 2011 13:47:02 UTC

Severity: normal

Found in version 23.1

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: zvrba.external <at> zvrba.net, 8132 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: bug#8132: 23.1; comint shell replaces \ in paths with /
Date: Tue, 01 Mar 2011 20:27:28 +0200
> From: Michael Albinus <michael.albinus <at> gmx.de>
> Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>,  zvrba.external <at> zvrba.net,  8132 <at> debbugs.gnu.org
> Date: Tue, 01 Mar 2011 10:02:23 +0100
> 
> Eli Zaretskii <eliz <at> 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?

> Likely, it is sufficient to suppress the conversion if default-directory
> is remote.

How can it be, in "M-x shell"?




This bug report was last modified 14 years and 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.