branch: elpa/isl
commit 191e8f9975aad8678731ee38d660b1f2311c90b8
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Show postion of current match
---
isearch-light.el | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/isearch-light.el b/isearch-light.el
index 2399fb9dce9..40c3f237302 100644
--- a/isearch-light.el
+++ b/isearch-light.el
@@ -269,7 +269,13 @@ Optional argument PATTERN default to `isl-pattern'."
direction))
" " mode-line-position))
(t `(" " mode-line-buffer-identification " "
- (:eval ,(format "[%s] result(s) found for `%s' [%s %s %s]"
+ (:eval ,(format "[%s/%s] result(s) found for `%s' [%s %s
%s]"
+ (propertize
+ (number-to-string (1+ (iterator:position
+ isl--last-overlay
+ isl--item-overlays
+ :test 'eql)))
+ 'face 'isl-number)
(propertize (number-to-string
isl--number-results)
'face 'isl-number)