GNU bug report logs - #24620
26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters

Previous Next

Package: emacs;

Reported by: José L. Doménech <j_l_domenech <at> yahoo.com>

Date: Wed, 5 Oct 2016 07:07:02 UTC

Severity: minor

Tags: fixed, patch

Found in version 26.0.50

Fixed in version 26

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: José L. Doménech <domenechjosel <at> gmail.com>
Cc: 24620 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, Michael Albinus <michael.albinus <at> gmx.de>
Subject: bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters
Date: Thu, 27 Oct 2016 14:51:15 -0400
On Thu, Oct 27, 2016 at 2:39 PM, José L. Doménech
<domenechjosel <at> gmail.com> wrote:
> I am getting a "replace-regexp-in-string: Invalid use of ‘\’ in replacement text"
> error using 'shell-quote-argument' on this case.
>
> It seems that 'shell-quoted-argument' is adding double '\', that is,
> '\\', in front of the spaces instead of surrounding the argument with quotes.
>
> And 'replace-match' which is called by 'replace-regexp-in-string' for the parameter
> substitution ("%i", "%o") in the function 'dired-do-compress-to' doesn't like it.

Does passing non-nil for the LITERAL parameter to replace-regexp-in-string help?




This bug report was last modified 8 years and 285 days ago.

Previous Next


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