[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filename

From: Noam Postavsky
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
<address@hidden> 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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]