GNU bug report logs - #24587
24.5; `dired-do-rename-regexp' does not support `query-replace-regexp' TO syntax

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 2 Oct 2016 16:51:02 UTC

Severity: wishlist

Found in version 24.5

To reply to this bug, email your comments to 24587 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#24587; Package emacs. (Sun, 02 Oct 2016 16:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 02 Oct 2016 16:51:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.5; `dired-do-rename-regexp' does not support
 `query-replace-regexp' TO syntax
Date: Sun, 2 Oct 2016 09:50:02 -0700 (PDT)
The doc string of `dired-do-rename-regexp' says this, about the
replacement pattern:

  NEWNAME may contain \\=\\<n> 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=/c/usr --host=i686-pc-mingw32'




Severity set to 'wishlist' from 'normal' Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Wed, 05 Oct 2016 00:05:01 GMT) Full text and rfc822 format available.

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

Previous Next


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