bug-gnu-emacs
[Top][All Lists]
Advanced

[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, 30 Nov 2011 17:35:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (x86_64-pc-linux-gnu)

>> 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').





reply via email to

[Prev in Thread] Current Thread [Next in Thread]