GNU bug report logs - #51501
28.0.60; shell-quote-argument quotes "^!" incorrectly on MS-Windows

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 30 Oct 2021 08:48:01 UTC

Severity: normal

Found in version 28.0.60

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gregory Heytings <gregory <at> heytings.org>
Cc: 51501 <at> debbugs.gnu.org
Subject: bug#51501: 28.0.60; shell-quote-argument quotes "^!" incorrectly on MS-Windows
Date: Sat, 30 Oct 2021 12:36:30 +0300
> Date: Sat, 30 Oct 2021 08:51:18 +0000
> From: Gregory Heytings <gregory <at> heytings.org>
> cc: 51501 <at> debbugs.gnu.org
> 
> > (shell-quote-argument "foo^!") => "^\"foo^^^!^\""
> >
> > This is definitely NOT okay.
> 
> Is this with emacs -Q?

Yes.

> I get "foo\\^\\!".

You are not on MS-Windows, I presume?  The quoting is specific to the
underlying OS, and the bug report is about what happens on MS-Windows.




This bug report was last modified 3 years and 235 days ago.

Previous Next


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