aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2008-07-30 16:41:43 +0000
committerJuri Linkov2008-07-30 16:41:43 +0000
commit4f75e0823b5bc399f27a5eba9b437f99d1f5ef2f (patch)
tree395d0609b75f4b2d9b30ec772a7f63511ec6ee87
parent70bc5268872ef36ae6df7f87c9f457707cfc52b6 (diff)
downloademacs-4f75e0823b5bc399f27a5eba9b437f99d1f5ef2f.tar.gz
emacs-4f75e0823b5bc399f27a5eba9b437f99d1f5ef2f.zip
Isearch-related changes.
-rw-r--r--etc/NEWS53
1 files changed, 30 insertions, 23 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 53a8d9f0fdf..394e0b5b486 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -343,12 +343,12 @@ similarly, using the file displayed on the current line.
343 343
344*** A list of regexp default values is available via M-n for `occur', 344*** A list of regexp default values is available via M-n for `occur',
345`keep-lines', `flush-lines' and `how-many'. This list includes the active 345`keep-lines', `flush-lines' and `how-many'. This list includes the active
346region in transient-mark-mode, the word under the cursor, the last isearch 346region in transient-mark-mode, the word under the cursor, the last Isearch
347regexp, the last isearch string and the last replacement regexp. 347regexp, the last Isearch string and the last replacement regexp.
348 348
349*** isearch started in the minibuffer searches in the minibuffer history. 349*** Isearch started in the minibuffer searches in the minibuffer history.
350Reverse isearch commands (C-r, C-M-r) search in previous minibuffer 350Reverse Isearch commands (C-r, C-M-r) search in previous minibuffer
351history elements, and forward isearch commands (C-s, C-M-s) search in 351history elements, and forward Isearch commands (C-s, C-M-s) search in
352next history elements. When the reverse search reaches the first history 352next history elements. When the reverse search reaches the first history
353element, it wraps to the last history element, and the forward search 353element, it wraps to the last history element, and the forward search
354wraps to the first history element. When the search is terminated, the 354wraps to the first history element. When the search is terminated, the
@@ -409,10 +409,6 @@ vertically and horizontally.
409 409
410** Miscellaneous changes: 410** Miscellaneous changes:
411 411
412*** New keymap `search-map' bound to `M-s' provides global bindings
413for search related commands: `M-s o' for `occur', `M-s h r' for
414`highlight-regexp' and other hi-lock commands on the `M-s h' prefix.
415
416*** C-l is bound to the new command recenter-top-bottom, rather than recenter. 412*** C-l is bound to the new command recenter-top-bottom, rather than recenter.
417This moves the current line to window center, top and bottom on 413This moves the current line to window center, top and bottom on
418successive invokations. 414successive invokations.
@@ -690,15 +686,23 @@ position of point in help window (for example in `view-lossage').
690 686
691** Isearch 687** Isearch
692 688
693*** New command `isearch-highlight-regexp' bound to `M-s h r' 689*** New command `isearch-forward-word' bound globally to `M-s w' starts
694in isearch mode runs `highlight-regexp' (`hi-lock-face-buffer') 690incremental word search. New command `isearch-toggle-word' bound to the
695with the current search string as its regexp argument. 691same key `M-s w' in Isearch mode toggles word searching on or off
692while Isearch is active.
693
694*** New command `isearch-highlight-regexp' bound to `M-s h r' in Isearch
695mode runs `highlight-regexp' (`hi-lock-face-buffer') with the current
696search string as its regexp argument. The same key `M-s h r' and
697other keys on the `M-s h' prefix are bound globally to the command
698`highlight-regexp' and other hi-lock commands.
696 699
697*** New command `isearch-occur' bound to `M-s o' in isearch mode 700*** New command `isearch-occur' bound to `M-s o' in Isearch mode
698runs `occur' with the current search string. 701runs `occur' with the current search string. The same key `M-s o'
702is bound globally to the command `occur'.
699 703
700*** isearch can now search through multiple ChangeLog files. 704*** Isearch can now search through multiple ChangeLog files.
701When running isearch in a ChangeLog file, if the search fails, 705When running Isearch in a ChangeLog file, if the search fails,
702then another C-s tries searching the previous ChangeLog, 706then another C-s tries searching the previous ChangeLog,
703if there is one (e.g. go from ChangeLog to ChangeLog.12). 707if there is one (e.g. go from ChangeLog to ChangeLog.12).
704This is enabled if multi-isearch-search is non-nil. 708This is enabled if multi-isearch-search is non-nil.
@@ -707,13 +711,13 @@ This is enabled if multi-isearch-search is non-nil.
707for buff-menu.el and ibuffer.el are bound to the keys `M-s a C-s' and 711for buff-menu.el and ibuffer.el are bound to the keys `M-s a C-s' and
708`M-s a M-C-s'. 712`M-s a M-C-s'.
709 713
710*** The part of an isearch that failed to match is highlighted in `isearch-fail' 714*** The part of an Isearch that failed to match is highlighted in `isearch-fail'
711face. 715face.
712 716
713*** `C-h C-h' in isearch mode displays isearch-specific Help screen, 717*** `C-h C-h' in Isearch mode displays isearch-specific Help screen,
714`C-h b' displays all isearch key bindings, `C-h k' displays the full 718`C-h b' displays all Isearch key bindings, `C-h k' displays the full
715documentation of the given isearch key sequence, `C-h m' displays 719documentation of the given Isearch key sequence, `C-h m' displays
716documentation of isearch mode. All the rest Help commands exit isearch mode 720documentation of Isearch mode. All the rest Help commands exit Isearch mode
717and execute their global definitions. 721and execute their global definitions.
718 722
719*** When started in the minibuffer, Isearch searches in the minibuffer 723*** When started in the minibuffer, Isearch searches in the minibuffer
@@ -1087,7 +1091,7 @@ are available for inserting into the minibuffer by typing `M-n'.
1087For empty input these functions return the first element of this list. 1091For empty input these functions return the first element of this list.
1088 1092
1089*** New function `read-regexp' uses the regexp history and some useful 1093*** New function `read-regexp' uses the regexp history and some useful
1090regexp defaults (string at point, last isearch/replacement regexp/string) 1094regexp defaults (string at point, last Isearch/replacement regexp/string)
1091via M-n when reading a regexp in the minibuffer. 1095via M-n when reading a regexp in the minibuffer.
1092 1096
1093*** minibuffer-local-must-match-filename-map is now named 1097*** minibuffer-local-must-match-filename-map is now named
@@ -1116,7 +1120,10 @@ function to use for searching in `query-replace-regexp',
1116`replace-regexp', `query-replace-regexp-eval', and 1120`replace-regexp', `query-replace-regexp-eval', and
1117`map-query-replace-regexp'. 1121`map-query-replace-regexp'.
1118 1122
1119*** The new keymap `multi-query-replace-map' contains additonal keys bound 1123*** New keymap `search-map' bound to `M-s' provides global bindings
1124for search related commands.
1125
1126*** New keymap `multi-query-replace-map' contains additonal keys bound
1120to `automatic-all' and `exit-current' for multi-buffer interactive replacement. 1127to `automatic-all' and `exit-current' for multi-buffer interactive replacement.
1121 1128
1122*** The variable `inhibit-changing-match-data', if non-nil, prevents 1129*** The variable `inhibit-changing-match-data', if non-nil, prevents