comparison etc/NEWS @ 86024:1027550b68ba

Add query-replace-show-replacement and match-substitute-replacement.
author Juri Linkov <juri@jurta.org>
date Sat, 10 Nov 2007 21:52:06 +0000
parents 11902b5f216b
children 1dcb138a672b 880960b70474
comparison
equal deleted inserted replaced
86023:d72a9deca64e 86024:1027550b68ba
120 120
121 * Incompatible Editing Changes in Emacs 23.1 121 * Incompatible Editing Changes in Emacs 23.1
122 122
123 123
124 * Editing Changes in Emacs 23.1 124 * Editing Changes in Emacs 23.1
125
126 +++
127 ** C-M-% now shows replacement as it would look in the buffer, with
128 `\N' and `\&' substituted according to the match. Old behavior can be
129 restored by customizing `query-replace-show-replacement'.
125 130
126 +++ 131 +++
127 ** M-q now fills the region if the region is active and 132 ** M-q now fills the region if the region is active and
128 `transient-mark-mode' is turned on. Otherwise, it fills the current 133 `transient-mark-mode' is turned on. Otherwise, it fills the current
129 paragraph. 134 paragraph.
363 368
364 369
365 * Lisp Changes in Emacs 23.1 370 * Lisp Changes in Emacs 23.1
366 371
367 +++ 372 +++
373 ** New function `match-substitute-replacement' returns the result of
374 `replace-match' without actually using it in the buffer.
375
376 +++
368 ** A list of default values can be specified for the DEFAULT argument of 377 ** A list of default values can be specified for the DEFAULT argument of
369 functions `read-from-minibuffer', `read-string', `read-command', 378 functions `read-from-minibuffer', `read-string', `read-command',
370 `read-variable', `read-buffer', `completing-read'. Elements of this list 379 `read-variable', `read-buffer', `completing-read'. Elements of this list
371 are available for inserting into the minibuffer by typing `M-n'. 380 are available for inserting into the minibuffer by typing `M-n'.
372 For empty input these functions return the first element of this list. 381 For empty input these functions return the first element of this list.