From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#24587: 24.5; `dired-do-rename-regexp' does not support `query-replace-regexp' TO syntax Date: Sun, 2 Oct 2016 09:50:02 -0700 (PDT) Message-ID: <10a7e293-31e3-4c7a-876d-88b068370501@default> 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 1475427081 14354 195.159.176.226 (2 Oct 2016 16:51:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Oct 2016 16:51:21 +0000 (UTC) To: 24587@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 02 18:51:16 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 1bqjys-0002n7-36 for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Oct 2016 18:51:14 +0200 Original-Received: from localhost ([::1]:60212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqjyq-0005Ov-P3 for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Oct 2016 12:51:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqjyk-0005Ok-Tu for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 12:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqjyg-0001Ln-Pa for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 12:51:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqjyg-0001Lj-Lp for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 12:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bqjyg-0003jF-GC for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 12:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2016 16:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147542701914229 (code B ref -1); Sun, 02 Oct 2016 16:51:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Oct 2016 16:50:19 +0000 Original-Received: from localhost ([127.0.0.1]:42148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqjxz-0003hQ-GF for submit@debbugs.gnu.org; Sun, 02 Oct 2016 12:50:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqjxy-0003h5-1n for submit@debbugs.gnu.org; Sun, 02 Oct 2016 12:50:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqjxr-0001BF-T8 for submit@debbugs.gnu.org; Sun, 02 Oct 2016 12:50:13 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqjxr-0001As-Pw for submit@debbugs.gnu.org; Sun, 02 Oct 2016 12:50:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqjxp-0005CF-AJ for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 12:50:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqjxm-00016q-5h for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 12:50:09 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:28821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqjxl-00016T-SZ for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2016 12:50:06 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u92Go4t0004701 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 2 Oct 2016 16:50:04 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id u92Go30K024832 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 2 Oct 2016 16:50:04 GMT Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u92Go3vH008438 for ; Sun, 2 Oct 2016 16:50:03 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6753.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:123904 Archived-At: The doc string of `dired-do-rename-regexp' says this, about the replacement pattern: NEWNAME may contain \\=3D\\ or \\& as in `query-replace-regexp'. It does not say that it also supports the other syntax constructs that `query-replace-regexp' supports for the replacement pattern, so this is not a bug report per se, but rather an enhancement request. Please enable `dired-do-rename-regexp' to fully support the replacement patterns that `query-replace-regexp' supports. See this answer by Phil S. to an emacs.stackexchange question for an example of what should be possible: http://emacs.stackexchange.com/a/27499/105 In GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/usr --host=3Di686-pc-mingw32'