[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10148: 24.0.91; "pending" regexp Isearch
From: |
Juri Linkov |
Subject: |
bug#10148: 24.0.91; "pending" regexp Isearch |
Date: |
Wed, 20 Apr 2022 10:34:49 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>>> This was ten years ago, and "pending" is still somewhat confusing
>>
>> Do you really see that "pending"? ;-) We removed it recently in bug#52356.
>
> The test case on the current trunk still says "Pending" -- emacs -Q, C-u
> C-s i s * -> pending.
If no one wants "Pending" anywhere, then this patch removes its
remaining occurrences (bug#52356 removed other two occurrences):
diff --git a/lisp/isearch.el b/lisp/isearch.el
index be0227b6e7..9f848dd229 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2858,7 +2911,7 @@ isearch-fallback
allow-invalid))
(if to-barrier
(progn (goto-char isearch-barrier)
- (setq isearch-adjusted t))
+ (setq isearch-adjusted 'fallback))
(let* ((stack isearch-cmds)
(previous (cdr stack)) ; lookbelow in the stack
(frame (car stack)))
@@ -2893,7 +2946,7 @@ isearch-fallback
(goto-char (if isearch-forward
(max last-other-end isearch-barrier)
(min last-other-end isearch-barrier)))
- (setq isearch-adjusted t)))))))
+ (setq isearch-adjusted 'fallback)))))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; scrolling within Isearch mode. Alan Mackenzie (acm@muc.de), 2003/2/24