aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2012-10-17 02:27:40 +0300
committerJuri Linkov2012-10-17 02:27:40 +0300
commite5a94ec494881d7a963fef9ceb3beba653575b55 (patch)
tree611a2e937825e4c55c592316e799d7042bc6871a
parent0b4eec47f29aee572f9306b22e18c8dd4a8f1f62 (diff)
downloademacs-e5a94ec494881d7a963fef9ceb3beba653575b55.tar.gz
emacs-e5a94ec494881d7a963fef9ceb3beba653575b55.zip
* doc/emacs/search.texi (Query Replace): Document multi-buffer replacement keys.
* doc/emacs/maintaining.texi (Tags Search): Change link "Replace" to "Query Replace". * lisp/replace.el (query-replace-help): Mention multi-buffer replacement keys in the Help message. Fixes: debbugs:12655
-rw-r--r--doc/emacs/ChangeLog8
-rw-r--r--doc/emacs/maintaining.texi2
-rw-r--r--doc/emacs/search.texi13
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/replace.el8
5 files changed, 33 insertions, 3 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 47a4c8da522..5ab3c1ab5b8 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,11 @@
12012-10-16 Juri Linkov <juri@jurta.org>
2
3 * search.texi (Query Replace): Document multi-buffer replacement
4 keys. (Bug#12655)
5
6 * maintaining.texi (Tags Search): Change link "Replace" to
7 "Query Replace".
8
12012-10-13 Chong Yidong <cyd@gnu.org> 92012-10-13 Chong Yidong <cyd@gnu.org>
2 10
3 * files.texi (File Conveniences): ImageMagick enabled by default. 11 * files.texi (File Conveniences): ImageMagick enabled by default.
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index d21e3af83dd..67214bde22c 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -2221,7 +2221,7 @@ the current buffer, followed by the remaining files of the tags table.
2221reads a regexp to search for and a string to replace with, just like 2221reads a regexp to search for and a string to replace with, just like
2222ordinary @kbd{M-x query-replace-regexp}. It searches much like @kbd{M-x 2222ordinary @kbd{M-x query-replace-regexp}. It searches much like @kbd{M-x
2223tags-search}, but repeatedly, processing matches according to your 2223tags-search}, but repeatedly, processing matches according to your
2224input. @xref{Replace}, for more information on query replace. 2224input. @xref{Query Replace}, for more information on query replace.
2225 2225
2226@vindex tags-case-fold-search 2226@vindex tags-case-fold-search
2227@cindex case-sensitivity and tags search 2227@cindex case-sensitivity and tags search
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index 21db02c8ab8..7e46e416219 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -1239,6 +1239,19 @@ occurrences.
1239@item ! 1239@item !
1240to replace all remaining occurrences without asking again. 1240to replace all remaining occurrences without asking again.
1241 1241
1242@item Y @r{(Upper-case)}
1243to replace all remaining occurrences in all remaining buffers in
1244multi-buffer replacements (like the Dired `Q' command which performs
1245query replace on selected files). It answers this question and all
1246subsequent questions in the series with "yes", without further
1247user interaction.
1248
1249@item N @r{(Upper-case)}
1250to skip to the next buffer in multi-buffer replacements without
1251replacing remaining occurrences in the current buffer. It answers
1252this question "no", gives up on the questions for the current buffer,
1253and continues to the next buffer in the sequence.
1254
1242@item ^ 1255@item ^
1243to go back to the position of the previous occurrence (or what used to 1256to go back to the position of the previous occurrence (or what used to
1244be an occurrence), in case you changed it by mistake or want to 1257be an occurrence), in case you changed it by mistake or want to
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 96f859ec603..437f8d57c9a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-10-16 Juri Linkov <juri@jurta.org>
2
3 * replace.el (query-replace-help): Mention multi-buffer replacement
4 keys in the Help message. (Bug#12655)
5
12012-10-15 Chong Yidong <cyd@gnu.org> 62012-10-15 Chong Yidong <cyd@gnu.org>
2 7
3 * emacs-lisp/byte-run.el (defsubst): Doc fix. 8 * emacs-lisp/byte-run.el (defsubst): Doc fix.
diff --git a/lisp/replace.el b/lisp/replace.el
index e714015fccf..4013e4e5df5 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -1603,9 +1603,13 @@ Comma to replace but not move point immediately,
1603C-r to enter recursive edit (\\[exit-recursive-edit] to get out again), 1603C-r to enter recursive edit (\\[exit-recursive-edit] to get out again),
1604C-w to delete match and recursive edit, 1604C-w to delete match and recursive edit,
1605C-l to clear the screen, redisplay, and offer same replacement again, 1605C-l to clear the screen, redisplay, and offer same replacement again,
1606! to replace all remaining matches with no more questions, 1606! to replace all remaining matches in this buffer with no more questions,
1607^ to move point back to previous match, 1607^ to move point back to previous match,
1608E to edit the replacement string" 1608E to edit the replacement string.
1609In multi-buffer replacements type `Y' to replace all remaining
1610matches in all remaining buffers with no more questions,
1611`N' to skip to the next buffer without replacing remaining matches
1612in the current buffer."
1609 "Help message while in `query-replace'.") 1613 "Help message while in `query-replace'.")
1610 1614
1611(defvar query-replace-map 1615(defvar query-replace-map