Variable: query-replace-help

query-replace-help is a variable defined in replace.el.gz.

Value

"Type \\`SPC' or \\`y' to replace one match, Delete or \\`n' to skip to next,\n\\`RET' or \\`q' to exit, Period to replace one match and exit,\n\\`,' to replace but not move point immediately,\n\\`C-r' to enter recursive edit (\\[exit-recursive-edit] to get out again),\n\\`C-w' to delete match and recursive edit,\n\\`C-l' to clear the screen, redisplay, and offer same replacement again,\n\\`!' to replace all remaining matches in this buffer with no more questions,\n\\`^' to move point back to previous match,\n\\`u' to undo previous replacement,\n\\`U' to undo all replacements,\n\\`e' to edit the replacement string.\n\\`E' to edit the replacement string with exact case.\nIn multi-buffer replacements type \\`Y' to replace all remaining\nmatches in all remaining buffers with no more questions,\n\\`N' to skip to the next buffer without replacing remaining matches\nin the current buffer."

Documentation

Help message while in query-replace.

Source Code

;; Defined in /usr/src/emacs/lisp/replace.el.gz
;; It would be nice to use \\[...], but there is no reasonable way
;; to make that display both SPC and Y.
(defconst query-replace-help
  "Type \\`SPC' or \\`y' to replace one match, Delete or \\`n' to skip to next,
\\`RET' or \\`q' to exit, Period to replace one match and exit,
\\`,' to replace but not move point immediately,
\\`C-r' to enter recursive edit (\\[exit-recursive-edit] to get out again),
\\`C-w' to delete match and recursive edit,
\\`C-l' to clear the screen, redisplay, and offer same replacement again,
\\`!' to replace all remaining matches in this buffer with no more questions,
\\`^' to move point back to previous match,
\\`u' to undo previous replacement,
\\`U' to undo all replacements,
\\`e' to edit the replacement string.
\\`E' to edit the replacement string with exact case.
In multi-buffer replacements type \\`Y' to replace all remaining
matches in all remaining buffers with no more questions,
\\`N' to skip to the next buffer without replacing remaining matches
in the current buffer."
  "Help message while in `query-replace'.")