[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: |
José L . Doménech |
Subject: |
bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters |
Date: |
Thu, 27 Oct 2016 21:29:30 +0200 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/26.0.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
On Thu, 27 Oct 2016 20:51:15 +0200,
Noam Postavsky wrote:
>
> On Thu, Oct 27, 2016 at 2:39 PM, José L. Doménech
> <domenechjosel@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?
>
Yes indeed!
So the patch becomes something like:
dired-aux.el.patch
Description: Text document
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, José L . Doménech, 2016/10/05
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, José L . Doménech, 2016/10/27
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, Eli Zaretskii, 2016/10/27
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, Michael Albinus, 2016/10/27
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, José L . Doménech, 2016/10/27
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, Noam Postavsky, 2016/10/27
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters,
José L . Doménech <=
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, npostavs, 2016/10/27
- bug#24620: Forward: Re: bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, José L . Doménech, 2016/10/28
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, José L . Doménech, 2016/10/28
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, npostavs, 2016/10/28
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, José L . Doménech, 2016/10/29
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, npostavs, 2016/10/29
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, José L . Doménech, 2016/10/29
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, José L . Doménech, 2016/10/29
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, José L . Doménech, 2016/10/29
- bug#24620: 26.0.50; In dired: 'dired-do-compress-to' fails when filenames cotains space characters, npostavs, 2016/10/29