From: Lars Ingebrigtsen Date: Tue, 21 Sep 2021 20:01:28 +0000 (+0200) Subject: Document isearch-wrap-pause X-Git-Tag: emacs-28.0.90~755 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=636e082e451aacb881a94b6c5b3dafb15d7eaa3d;p=emacs.git Document isearch-wrap-pause * doc/emacs/search.texi (Repeat Isearch): Document `isearch-wrap-pause'. --- diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index e4322e361f6..8a101f1150b 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -222,6 +222,15 @@ going past the original starting point of the search, it changes to @samp{Overwrapped}, which means that you are revisiting matches that you have already seen. +@vindex isearch-wrap-pause + You can control what happens when there are no more matches by +customizing the @code{isearch-wrap-pause} user option. If it is +@code{t} (the default), signal an error. (Repeating the search will +wrap around.) If @code{no}, issue a @code{ding} and wrap immediately +after reaching the last match. If @code{no-ding}, wrap immediately, +but don't @code{ding}. Finally, if @code{nil}, never wrap, but just +stop at the last match. + @cindex search ring @findex isearch-ring-advance @findex isearch-ring-retreat diff --git a/etc/NEWS b/etc/NEWS index 7765f5a6797..4bdbdeae0b1 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1044,10 +1044,12 @@ achieve that. +++ ** New command 'C-x C-k Q' to force redisplay in keyboard macros. +--- ** 'blink-cursor-mode' is now enabled by default regardless of the UI. It used to be enabled when Emacs is started in GUI mode but not when started in text mode. The cursor still only actually blinks in GUI frames. ++++ ** New minor mode 'show-paren-local-mode'. It serves as a local counterpart for 'show-paren-mode', allowing you to toggle it separately in different buffers. @@ -1074,6 +1076,7 @@ distinguish between sub-expression highlighting. Like 'search-highlight-submatches', this is controlled by the new user option 'query-replace-highlight-submatches'. ++++ *** New user option 'isearch-wrap-pause' defines how to wrap the search. There are choices to disable wrapping completely and to wrap immediately. When wrapping immediately, it consistently handles the numeric arguments