GNU bug report logs - #20744
python.el tries to undo shell quoting with split-string-and-unquote

Previous Next

Package: emacs;

Reported by: Da Zhang <zhangda82 <at> gmail.com>

Date: Fri, 5 Jun 2015 16:35:02 UTC

Severity: normal

Tags: confirmed, fixed

Merged with 25025

Found in version 25.1

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 20744 <at> debbugs.gnu.org, zhangda82 <at> gmail.com
Subject: bug#20744: shell-quote-argument in Emacs 24.5 and Emacs 25 on Windows cannot figure out path correctly
Date: Sun, 07 Jun 2015 22:11:49 +0300
> From: Glenn Morris <rgm <at> gnu.org>
> Cc: Da Zhang <zhangda82 <at> gmail.com>,  20744 <at> debbugs.gnu.org
> Date: Sun, 07 Jun 2015 14:01:31 -0400
> 
> Eli Zaretskii wrote:
> 
> > I'm sorry, but I don't see how we can accept such a change: it means
> > that when the Cygwin Bash is used as the shell, the ':' character will
> > not be quoted, which I think could cause trouble in some cases.
> >
> > Maybe some Bash expert could chime in and tell whether problems are
> > possible with Bash in this case.
> 
> Not an expert (and didn't read the rest of the report), but I can't
> think of a reason why ':' would need quoting in Bash (unlike eg ';' or '&').
> What kind of thing are you thinking of?

PATH-style lists, maybe.

Anyway, if we think ':' doesn't need to be quoted, how about removing
it from the Posix branch of shell-quote-argument?  Then we won't need
ugly hacks that try to detect Cygwin Bash used from a native Windows
Emacs.




This bug report was last modified 7 years and 277 days ago.

Previous Next


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