changeset 96911:dd755b7c9f24

Add multi-buffer query-replace and `multi-query-replace-map'.
author Juri Linkov <juri@jurta.org>
date Wed, 23 Jul 2008 01:20:12 +0000
parents a7596a078e92
children 71ed3159f616
files etc/NEWS
diffstat 1 files changed, 17 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Wed Jul 23 01:19:26 2008 +0000
+++ b/etc/NEWS	Wed Jul 23 01:20:12 2008 +0000
@@ -601,6 +601,20 @@
 buffer and tries to create ChangeLog entries for each change.
 It is bound to `C-x 4 A'.
 
+** Dired
+
+*** In Dired, C-x C-q now runs the command wdired-change-to-wdired-mode,
+and C-x C-q in wdired-mode exits it with asking a question about
+saving changes.
+
+*** `Q' in Dired provides two new keys for multi-file replacement.
+The upper case key `Y' replaces all remaining matches in all remaining files
+with no more questions.  The upper case key `N' stops doing replacements
+in the current file and skips to the next file.  These multi-file keys
+are available for all commands that use `tags-query-replace'
+including `dired-do-query-replace-regexp', `vc-dir-query-replace-regexp',
+`reftex-query-replace-document'.
+
 ** Fortran
 *** The variable `fortran-line-length' can change the fixed-form line-length.
 
@@ -762,10 +776,6 @@
 If `default-directory' is a remote file name, subprocesses are started
 on the corresponding remote system.
 
-*** In Dired, C-x C-q now runs the command wdired-change-to-wdired-mode,
-and C-x C-q in wdired-mode exits it with asking a question about
-saving changes.
-
 *** Eldoc highlights the function argument under point
 with the face `eldoc-highlight-function-argument'.
 
@@ -1058,6 +1068,9 @@
 `replace-regexp', `query-replace-regexp-eval', and
 `map-query-replace-regexp'.
 
+*** The new keymap `multi-query-replace-map' contains additonal keys bound
+to `automatic-all' and `exit-current' for multi-buffer interactive replacement.
+
 *** The variable `inhibit-changing-match-data', if non-nil, prevents
 the search and match primitives from changing the match data.