From 38c2a4588295a910b38736f0bfcc1cc5e5624520 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 17 Apr 2022 14:23:00 +0200 Subject: [PATCH] Explain what "pending" means in isearch * doc/emacs/search.texi (Regexp Search): Explain what "Pending" usually means (bug#10148). --- doc/emacs/search.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2