From: Juri Linkov Date: Wed, 25 Jun 2008 20:27:45 +0000 (+0000) Subject: Add global bindings `M-s o' for `occur', `M-s h r' for `highlight-regexp', X-Git-Tag: emacs-pretest-23.0.90~4499 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f45acc9d3433337e94d680655932c4cf1cab25e0;p=emacs.git Add global bindings `M-s o' for `occur', `M-s h r' for `highlight-regexp', and isearch binding `M-s h r' for `isearch-highlight-regexp'. --- diff --git a/etc/NEWS b/etc/NEWS index 705d275d6e0..a280ba94ac6 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -362,6 +362,10 @@ e.g. if truncate-lines is non-nil. ** Miscellaneous changes: +*** New keymap `search-map' bound to `M-s' provides global bindings +for search related commands: `M-s o' for `occur', `M-s h r' for +`highlight-regexp' and other hi-lock commands on the `M-s h' prefix. + *** C-l is bound to the new command recenter-top-bottom, rather than recenter. This moves the current line to window center, top and bottom on successive invokations. @@ -577,6 +581,10 @@ position of point in help window (for example in `view-lossage'). ** Isearch +*** New command `isearch-highlight-regexp' bound to `M-s h r' +in isearch mode runs `highlight-regexp' (`hi-lock-face-buffer') +with the current search string as its regexp argument. + *** New command `isearch-occur' bound to `M-s o' in isearch mode runs `occur' with the current search string.