unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 10148@debbugs.gnu.org
Subject: bug#10148: 24.0.91; "pending" regexp Isearch
Date: Wed, 30 Nov 2011 17:35:10 +0200	[thread overview]
Message-ID: <87y5uxaapt.fsf@mail.jurta.org> (raw)
In-Reply-To: <jwvd3c97lkx.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 30 Nov 2011 09:08:13 -0500")

>> and typing the same key sequence `C-< C-M-s i s *'.
>> "Pending" is necessary for Isearch to go back to the first shorter match.
>
> I don't see why it would be "necessary".

`isearch-fallback' [ab]uses `isearch-adjusted' to be able to
move point to `isearch-barrier' because when `isearch-adjusted' is t,
then `isearch-search-and-update' doesn't move point to another position
not intended by `isearch-fallback'.  So this is just a technical detail
of implementation that doesn't need a message.

>> Well, on second thought, "adjusted" doesn't sound too bad :-).
>
> Another option is to not say anything at all.  I don't have a strong
> opinion on this, but I never found "pending" useful and I don't think
> I'd have felt differently if it had said "adjusted" instead.

The message "pending" is not necessary for `isearch-fallback',
but it helps when using `isearch-toggle-regexp', `isearch-toggle-word'
and `isearch-toggle-case-fold' because they doesn't repeat the search
immediately and require an action from the user to find the next match
(like another `C-s').





  parent reply	other threads:[~2011-11-30 15:35 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87y5uxaapt.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=10148@debbugs.gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).