aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov2018-10-27 23:27:54 +0300
committerJuri Linkov2018-10-27 23:27:54 +0300
commit3dd16a89bf410d77e9ddc41cbfbbd4b343928d6d (patch)
treeb8ab1e8cce028a8e6726e669ec8766ed0a65a951 /etc
parent2df74ce79b910c977167e84d4cb37ede1053663f (diff)
downloademacs-3dd16a89bf410d77e9ddc41cbfbbd4b343928d6d.tar.gz
emacs-3dd16a89bf410d77e9ddc41cbfbbd4b343928d6d.zip
* lisp/isearch.el (lazy-highlight-buffer): New defcustom. (Bug#29360)
(lazy-highlight-buffer-max-at-a-time): New defcustom. (isearch-lazy-highlight-buffer): New defvar. (isearch-lazy-highlight-new-loop): Don't check changes in window boundaries when lazy-highlight-buffer is non-nil. Move code that extends start/end to match whole string at point here from isearch-lazy-highlight-search. (isearch-lazy-highlight-search): Add args string and bound like in other search functions. Move calculation of bound to isearch-lazy-highlight-update. (isearch-lazy-highlight-match): New function with code extracted from isearch-lazy-highlight-update to be called also from isearch-lazy-highlight-buffer-update. (isearch-lazy-highlight-update): Reuse the values returned from window-group-start and window-group-end. At the end schedule the timer to call isearch-lazy-highlight-buffer-update when isearch-lazy-highlight-buffer is non-nil. (isearch-lazy-highlight-buffer-update): New function.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index be32ac6b9bb..57a83068bd2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -581,6 +581,14 @@ can now be searched via 'C-s'.
581 581
582** Search and Replace 582** Search and Replace
583 583
584*** lazy-highlight-buffer highlights matches in the full buffer.
585It is useful in combination with lazy-highlight-cleanup customized to nil
586to leave matches highlighted in the whole buffer after exiting isearch.
587Also when lazy-highlight-buffer prepares highlighting in the buffer,
588navigation through the matches without flickering is more smooth.
589lazy-highlight-buffer-max-at-a-time controls the number of matches to
590highlight in one iteration while processing the full buffer.
591
584+++ 592+++
585*** New isearch bindings. 593*** New isearch bindings.
586 594