]> git.eshelyaron.com Git - emacs.git/commit
Isearch hit count. (Bug#29321)
authorJuri Linkov <juri@linkov.net>
Wed, 14 Nov 2018 22:23:47 +0000 (00:23 +0200)
committerJuri Linkov <juri@linkov.net>
Wed, 14 Nov 2018 22:23:47 +0000 (00:23 +0200)
commit35a88c809e9eb5a32dd8d7f0dae960021f4cd707
treea6cc5a092cf2c752f7df48c54e27edc29746f322
parent5fe81ebbb52a82ed13635df4861039ac7ed42022
Isearch hit count.  (Bug#29321)

* lisp/isearch.el (isearch-lazy-count): New defcustom.
(lazy-count): New defgroup.
(lazy-count-prefix-format, lazy-count-suffix-format): New defcustom.
(isearch-lazy-count-format): New function.
(isearch-message-prefix, isearch-message-suffix): Use it.
(isearch-lazy-highlight-window-start-changed)
(isearch-lazy-highlight-window-end-changed)
(isearch-lazy-count-current, isearch-lazy-count-total)
(isearch-lazy-count-hash): New variables.
(isearch-lazy-highlight-new-loop): Reset isearch-lazy-count-total
and update isearch-lazy-count-current for isearch-message.
(isearch-lazy-highlight-update): Run full-buffer loop for
isearch-lazy-count.
(isearch-lazy-highlight-buffer-update): Count isearch-lazy-count-total.
Set isearch-lazy-count-current at the end.
etc/NEWS
lisp/isearch.el