From: Lars Ingebrigtsen Date: Sun, 17 Apr 2022 12:23:00 +0000 (+0200) Subject: Explain what "pending" means in isearch X-Git-Tag: emacs-29.0.90~1931^2~460 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=38c2a4588295a910b38736f0bfcc1cc5e5624520;p=emacs.git Explain what "pending" means in isearch * doc/emacs/search.texi (Regexp Search): Explain what "Pending" usually means (bug#10148). --- diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index f2d82324e94..c990f5d766a 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -899,11 +899,13 @@ character folding during incremental regexp search with @kbd{M-s '}, the search becomes a non-regexp search and the search pattern you typed is interpreted as a literal string.) +@cindex pending, in incremental search In some cases, adding characters to the regexp in an incremental regexp search can make the cursor move back and start again. For example, if you have searched for @samp{foo} and you add @samp{\|bar}, the cursor backs up in case the first @samp{bar} precedes the first -@samp{foo}. @xref{Regexps}. +@samp{foo}. (The prompt will change to say ``Pending'' to notify the +user that this recalculation has happened.) @xref{Regexps}. Forward and backward regexp search are not symmetrical, because regexp matching in Emacs always operates forward, starting with the