From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <87ponfi8ay.wl-j_l_domenech@yahoo.com> <878tt9zy64.wl-domenechjosel@gmail.com> <87funhd7ba.fsf@gmx.de> <87bmy5bpqz.wl-domenechjosel@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1477594367 30478 195.159.176.226 (27 Oct 2016 18:52:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2016 18:52:47 +0000 (UTC) Cc: 24620@debbugs.gnu.org, Michael Albinus To: =?UTF-8?Q?Jos=C3=A9?= L. =?UTF-8?Q?Dom=C3=A9nech?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 27 20:52:44 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzpn1-0006eO-DC for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Oct 2016 20:52:35 +0200 Original-Received: from localhost ([::1]:43933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzpn3-0004DT-Vq for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Oct 2016 14:52:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzpmY-0003uq-K6 for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2016 14:52:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzpmU-0000Ty-Nj for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2016 14:52:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45662) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzpmU-0000Tm-Jj for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2016 14:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bzpmU-0004te-AB for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2016 14:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Oct 2016 18:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24620 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24620-submit@debbugs.gnu.org id=B24620.147759428318773 (code B ref 24620); Thu, 27 Oct 2016 18:52:02 +0000 Original-Received: (at 24620) by debbugs.gnu.org; 27 Oct 2016 18:51:23 +0000 Original-Received: from localhost ([127.0.0.1]:32828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzplq-0004sj-PN for submit@debbugs.gnu.org; Thu, 27 Oct 2016 14:51:22 -0400 Original-Received: from mail-oi0-f51.google.com ([209.85.218.51]:33806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzplp-0004sX-CM for 24620@debbugs.gnu.org; Thu, 27 Oct 2016 14:51:21 -0400 Original-Received: by mail-oi0-f51.google.com with SMTP id p136so17140567oic.1 for <24620@debbugs.gnu.org>; Thu, 27 Oct 2016 11:51:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=if9BBmwb7SfvENMhy5Ty6gqlrNUwJT0wtsLSv1XBLOk=; b=PS2MamxbvI/sD9NjQYbCe3oV2/QZwFsbm6YstRxDl5UqXzu/6ScmG0aH+DAMvkAVKO iZPozFv9Y4F+Mr/CY1GZOKu0Zu1tQGEFOHFgMM1EC0u6iX7YzFtzdeGEXUXVb5aJ3c4O 7srW4NCTORsG9Cex87svDnYRKNNmnBoCVW36hAAnj4kvBi3G2a7PNNEftC2yvcXIfhLh WFatbk416xa3UuCSNBDDtkQ4NfiX8XCU9Q6s72litSGKc4HwC76DfunV84bP/ThaHbui RqgRjJdJYl4G/lcZaq2E3EqDw82CuAB/h2s2+WtnMhnBElm6Cs7N7R1ZC1CQIIaALJnD iBCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=if9BBmwb7SfvENMhy5Ty6gqlrNUwJT0wtsLSv1XBLOk=; b=C3tiaaXPORbjuD4oPPJJ6XIky3mkV/aJyTp46z5DXLWW/Y/QPcUOJO/H6RRavdItRi 4qKsIZkm3ql0Ggh56zRWM5koptsA1mcDnfWLiMW6qtAGmF5TJuab/pZusmzle9buQoGI uKOLMz5MhFMh8zdR03u0ik1X/F0LLynz4spfpZ0NlFVQWm6j5x0cVF2iqh/FsWRtYcde 5Ww4+0acVAXQWZeFBsFQYulR30UbMueyXw52gg+/oeNG4I6IT9EGDGxYZXnn8j9pFo0n 5uZJPhCEjMf/vsuS+dEy7xNZdVXWccOm5/a486aU9CO7SSIxjjTpNT3NVd6SPWIK5Tpc gqbw== X-Gm-Message-State: ABUngvcOTkWAYAimUltU6rwMVa0CD4vVAxLnmMzQxIksof4Hxx/mwBJ3xI5Cvs716GlaC5ZlLM+6+BcelQyrlQ== X-Received: by 10.157.22.145 with SMTP id c17mr7070916ote.37.1477594275484; Thu, 27 Oct 2016 11:51:15 -0700 (PDT) Original-Received: by 10.157.29.239 with HTTP; Thu, 27 Oct 2016 11:51:15 -0700 (PDT) In-Reply-To: <87bmy5bpqz.wl-domenechjosel@gmail.com> X-Google-Sender-Auth: sNrrE4HCgdj1dhONBb-rPALGPrw X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:125078 Archived-At: On Thu, Oct 27, 2016 at 2:39 PM, Jos=C3=A9 L. Dom=C3=A9nech wrote: > I am getting a "replace-regexp-in-string: Invalid use of =E2=80=98\=E2=80= =99 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 quo= tes. > > 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?