all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 10148@debbugs.gnu.org, Stefan Monnier <monnier@IRO.UMontreal.CA>
Subject: bug#10148: 24.0.91; "pending" regexp Isearch
Date: Wed, 20 Apr 2022 10:34:49 +0300	[thread overview]
Message-ID: <86czhcb42u.fsf@mail.linkov.net> (raw)
In-Reply-To: <87wnfmfbcn.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 18 Apr 2022 21:19:36 +0200")

[-- Attachment #1: Type: text/plain, Size: 384 bytes --]

>>> 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):


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: isearch-fallback.patch --]
[-- Type: text/x-diff, Size: 848 bytes --]

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

  reply	other threads:[~2022-04-20  7:34 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-27 12:52 bug#10148: 24.0.91; "pending" regexp Isearch Dani Moncayo
2011-11-29  0:39 ` Juri Linkov
2011-11-29 10:26   ` Dani Moncayo
2011-11-30  9:51     ` Juri Linkov
2011-11-30 10:26       ` Dani Moncayo
2011-11-30 10:38         ` Juri Linkov
2011-11-30 10:55           ` Dani Moncayo
2011-11-30 11:04             ` Dani Moncayo
2011-11-30 14:08               ` Stefan Monnier
2011-11-30 14:21                 ` Dani Moncayo
2011-11-30 14:47                 ` Drew Adams
2011-11-30 15:35                 ` Juri Linkov
2011-11-30 19:13                   ` Stefan Monnier
2011-12-01  7:37                     ` Juri Linkov
2011-12-01 11:34                       ` Eli Zaretskii
2011-12-01 15:22                       ` Drew Adams
2011-12-01 16:06                       ` Stefan Monnier
2022-04-17 12:27                       ` Lars Ingebrigtsen
2022-04-17 17:12                         ` Drew Adams
2022-04-18 19:09                           ` Juri Linkov
2022-04-18 19:20                             ` Drew Adams
2022-04-18 19:07                         ` Juri Linkov
2022-04-18 19:19                           ` Lars Ingebrigtsen
2022-04-20  7:34                             ` Juri Linkov [this message]
2022-04-20 10:52                               ` Lars Ingebrigtsen
2022-04-20 17:13                                 ` Juri Linkov
2022-04-21 11:34                                   ` Lars Ingebrigtsen
2022-04-21 12:25                                     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86czhcb42u.fsf@mail.linkov.net \
    --to=juri@jurta.org \
    --cc=10148@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=monnier@IRO.UMontreal.CA \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.