diff options
| author | Juri Linkov | 2018-04-23 01:10:49 +0300 |
|---|---|---|
| committer | Juri Linkov | 2018-04-23 01:10:49 +0300 |
| commit | 7abd3f2dcf1d31e31f40ca817666e8f66a17284f (patch) | |
| tree | 880199c2f4902fb30fab689dd7495106493a1a07 /etc | |
| parent | b26872a3b13f69f7f67a4964722d2ef155964c45 (diff) | |
| download | emacs-7abd3f2dcf1d31e31f40ca817666e8f66a17284f.tar.gz emacs-7abd3f2dcf1d31e31f40ca817666e8f66a17284f.zip | |
Improve Isearch error handling
* lisp/isearch.el (isearch--momentary-message): Propertize message
suffix with minibuffer-prompt face.
(isearch--describe-regexp-mode): Do not omit description in case
of error in default non-literal search.
(isearch-message-prefix): Display “case-sensitive” in case of error.
(isearch-message-suffix): Propertize message suffix with
minibuffer-prompt face.
(isearch-search-fun-default): Remove unused error handling.
* lisp/vc/add-log.el (change-log-next-buffer): Better handle
errors during wrapping.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 18 |
1 files changed, 13 insertions, 5 deletions
| @@ -141,11 +141,6 @@ regular expression was previously invalid, but is now accepted: | |||
| 141 | 141 | ||
| 142 | * Editing Changes in Emacs 27.1 | 142 | * Editing Changes in Emacs 27.1 |
| 143 | 143 | ||
| 144 | +++ | ||
| 145 | ** New isearch bindings. | ||
| 146 | 'C-M-w' in isearch changed from isearch-del-char to the new function | ||
| 147 | isearch-yank-symbol-or-char. isearch-del-char is now bound to 'C-M-d'. | ||
| 148 | |||
| 149 | --- | 144 | --- |
| 150 | ** New variable 'x-wait-for-event-timeout'. | 145 | ** New variable 'x-wait-for-event-timeout'. |
| 151 | This controls how long Emacs will wait for updates to the graphical | 146 | This controls how long Emacs will wait for updates to the graphical |
| @@ -169,6 +164,10 @@ for abbrevs that have them. | |||
| 169 | `text-property-search-backward' have been added. These provide an | 164 | `text-property-search-backward' have been added. These provide an |
| 170 | interface that's more like functions like @code{search-forward}. | 165 | interface that's more like functions like @code{search-forward}. |
| 171 | 166 | ||
| 167 | --- | ||
| 168 | ** More commands support noncontiguous rectangular regions, namely | ||
| 169 | ‘upcase-dwim’, ‘downcase-dwim’, ‘replace-string’, ‘replace-regexp’. | ||
| 170 | |||
| 172 | 171 | ||
| 173 | * Changes in Specialized Modes and Packages in Emacs 27.1 | 172 | * Changes in Specialized Modes and Packages in Emacs 27.1 |
| 174 | 173 | ||
| @@ -293,12 +292,21 @@ can now be searched via 'C-s'. | |||
| 293 | ** Search and Replace | 292 | ** Search and Replace |
| 294 | 293 | ||
| 295 | +++ | 294 | +++ |
| 295 | *** New isearch bindings. | ||
| 296 | 'C-M-w' in isearch changed from isearch-del-char to the new function | ||
| 297 | isearch-yank-symbol-or-char. isearch-del-char is now bound to 'C-M-d'. | ||
| 298 | |||
| 299 | +++ | ||
| 296 | *** 'search-exit-option' provides new options 'move' and 'shift-move' | 300 | *** 'search-exit-option' provides new options 'move' and 'shift-move' |
| 297 | to extend the search string by yanking text that ends at the new | 301 | to extend the search string by yanking text that ends at the new |
| 298 | position after moving point in the current buffer. 'shift-move' | 302 | position after moving point in the current buffer. 'shift-move' |
| 299 | extends the search string by motion commands while holding down | 303 | extends the search string by motion commands while holding down |
| 300 | the shift key. | 304 | the shift key. |
| 301 | 305 | ||
| 306 | --- | ||
| 307 | *** Isearch now remembers the regexp-based search mode for words/symbols | ||
| 308 | and case-sensitivity together with search strings in the search ring. | ||
| 309 | |||
| 302 | ** Edebug | 310 | ** Edebug |
| 303 | 311 | ||
| 304 | +++ | 312 | +++ |