diff options
| author | Juri Linkov | 2008-07-30 16:41:43 +0000 |
|---|---|---|
| committer | Juri Linkov | 2008-07-30 16:41:43 +0000 |
| commit | 4f75e0823b5bc399f27a5eba9b437f99d1f5ef2f (patch) | |
| tree | 395d0609b75f4b2d9b30ec772a7f63511ec6ee87 | |
| parent | 70bc5268872ef36ae6df7f87c9f457707cfc52b6 (diff) | |
| download | emacs-4f75e0823b5bc399f27a5eba9b437f99d1f5ef2f.tar.gz emacs-4f75e0823b5bc399f27a5eba9b437f99d1f5ef2f.zip | |
Isearch-related changes.
| -rw-r--r-- | etc/NEWS | 53 |
1 files changed, 30 insertions, 23 deletions
| @@ -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 |
| 346 | region in transient-mark-mode, the word under the cursor, the last isearch | 346 | region in transient-mark-mode, the word under the cursor, the last Isearch |
| 347 | regexp, the last isearch string and the last replacement regexp. | 347 | regexp, 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. |
| 350 | Reverse isearch commands (C-r, C-M-r) search in previous minibuffer | 350 | Reverse Isearch commands (C-r, C-M-r) search in previous minibuffer |
| 351 | history elements, and forward isearch commands (C-s, C-M-s) search in | 351 | history elements, and forward Isearch commands (C-s, C-M-s) search in |
| 352 | next history elements. When the reverse search reaches the first history | 352 | next history elements. When the reverse search reaches the first history |
| 353 | element, it wraps to the last history element, and the forward search | 353 | element, it wraps to the last history element, and the forward search |
| 354 | wraps to the first history element. When the search is terminated, the | 354 | wraps 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 | ||
| 413 | for 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. |
| 417 | This moves the current line to window center, top and bottom on | 413 | This moves the current line to window center, top and bottom on |
| 418 | successive invokations. | 414 | successive 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 |
| 694 | in isearch mode runs `highlight-regexp' (`hi-lock-face-buffer') | 690 | incremental word search. New command `isearch-toggle-word' bound to the |
| 695 | with the current search string as its regexp argument. | 691 | same key `M-s w' in Isearch mode toggles word searching on or off |
| 692 | while Isearch is active. | ||
| 693 | |||
| 694 | *** New command `isearch-highlight-regexp' bound to `M-s h r' in Isearch | ||
| 695 | mode runs `highlight-regexp' (`hi-lock-face-buffer') with the current | ||
| 696 | search string as its regexp argument. The same key `M-s h r' and | ||
| 697 | other 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 |
| 698 | runs `occur' with the current search string. | 701 | runs `occur' with the current search string. The same key `M-s o' |
| 702 | is 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. |
| 701 | When running isearch in a ChangeLog file, if the search fails, | 705 | When running Isearch in a ChangeLog file, if the search fails, |
| 702 | then another C-s tries searching the previous ChangeLog, | 706 | then another C-s tries searching the previous ChangeLog, |
| 703 | if there is one (e.g. go from ChangeLog to ChangeLog.12). | 707 | if there is one (e.g. go from ChangeLog to ChangeLog.12). |
| 704 | This is enabled if multi-isearch-search is non-nil. | 708 | This is enabled if multi-isearch-search is non-nil. |
| @@ -707,13 +711,13 @@ This is enabled if multi-isearch-search is non-nil. | |||
| 707 | for buff-menu.el and ibuffer.el are bound to the keys `M-s a C-s' and | 711 | for 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' |
| 711 | face. | 715 | face. |
| 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 |
| 715 | documentation of the given isearch key sequence, `C-h m' displays | 719 | documentation of the given Isearch key sequence, `C-h m' displays |
| 716 | documentation of isearch mode. All the rest Help commands exit isearch mode | 720 | documentation of Isearch mode. All the rest Help commands exit Isearch mode |
| 717 | and execute their global definitions. | 721 | and 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'. | |||
| 1087 | For empty input these functions return the first element of this list. | 1091 | For 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 |
| 1090 | regexp defaults (string at point, last isearch/replacement regexp/string) | 1094 | regexp defaults (string at point, last Isearch/replacement regexp/string) |
| 1091 | via M-n when reading a regexp in the minibuffer. | 1095 | via 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 |
| 1124 | for search related commands. | ||
| 1125 | |||
| 1126 | *** New keymap `multi-query-replace-map' contains additonal keys bound | ||
| 1120 | to `automatic-all' and `exit-current' for multi-buffer interactive replacement. | 1127 | to `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 |