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


Message #38 received at 8132 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: zvrba.external <at> zvrba.net, 8132 <at> debbugs.gnu.org
Subject: Re: bug#8132: 23.1; comint shell replaces \ in paths with /
Date: Tue, 01 Mar 2011 05:54:50 +0200
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Zeljko Vrba <zvrba.external <at> zvrba.net>,  8132 <at> debbugs.gnu.org
> Date: Mon, 28 Feb 2011 18:04:19 -0500
> 
> Maybe the best way is for shell.el to burp or warn the user that she
> would be better served by eshell.  But maybe file completion in shell.el
> should be tweaked to not turn \ into / in that case.

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.




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.