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


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

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 20744 <at> debbugs.gnu.org, zhangda82 <at> gmail.com
Subject: Re: bug#20744: shell-quote-argument in Emacs 24.5 and Emacs 25 on
 Windows cannot figure out path correctly
Date: Sun, 07 Jun 2015 20:07:10 -0400
Eli Zaretskii wrote:

> Anyway, if we think ':' doesn't need to be quoted, how about removing
> it from the Posix branch of shell-quote-argument?

The comment there says "This should be safe enough even for really weird
shells." That's a much broader question than just Bash! :)

But I thought of an example that affects Bash:

scp localfile remotehost:

If "localfile" contains ":", things will get confused.
So it's probably best to leave it as-is.




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.