From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#56535: 28.1; `no' and `no-ding' values for isearch-wrap-pause option (since Emacs 28.1) not working as documented Date: Mon, 01 Aug 2022 20:55:43 +0300 Organization: LINKOV.NET Message-ID: <86y1w7df1c.fsf@mail.linkov.net> References: <83a69dw72m.fsf@gnu.org> <83wnchuexs.fsf@gnu.org> <865yk0g5cf.fsf@mail.linkov.net> <8635ez5yf6.fsf@mail.linkov.net> <86zgh3d64g.fsf@mail.linkov.net> <86tu79y3rn.fsf@mail.linkov.net> <86o7xe5t8o.fsf@mail.linkov.net> <867d3t3vha.fsf@mail.linkov.net> <837d3s442q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31966"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 56535@debbugs.gnu.org, arunlalv04@gmail.com, visuweshm@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 01 20:19:08 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIa0R-00088m-O4 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Aug 2022 20:19:07 +0200 Original-Received: from localhost ([::1]:45738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIa0Q-0000vf-Je for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Aug 2022 14:19:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIZzO-0000nU-Mm for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2022 14:18:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIZzO-0000WQ-E7 for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2022 14:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oIZzO-00026y-9u for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2022 14:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Aug 2022 18:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56535 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 56535-submit@debbugs.gnu.org id=B56535.16593778478017 (code B ref 56535); Mon, 01 Aug 2022 18:18:02 +0000 Original-Received: (at 56535) by debbugs.gnu.org; 1 Aug 2022 18:17:27 +0000 Original-Received: from localhost ([127.0.0.1]:41602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIZyo-00025F-TQ for submit@debbugs.gnu.org; Mon, 01 Aug 2022 14:17:27 -0400 Original-Received: from relay12.mail.gandi.net ([217.70.178.232]:56619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIZyn-00024w-3y for 56535@debbugs.gnu.org; Mon, 01 Aug 2022 14:17:25 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id E40F8200004; Mon, 1 Aug 2022 18:17:16 +0000 (UTC) In-Reply-To: <837d3s442q.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 01 Aug 2022 14:05:01 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:238458 Archived-At: >> Currently this is documented in the Info node >> (info "(emacs) Repeat Isearch"): >> >> You can control what happens when there are no more matches by >> customizing the ‘isearch-wrap-pause’ user option. If it is ‘t’ (the >> default), signal an error. (Repeating the search will wrap around.) If >> ‘no’, issue a ‘ding’ and wrap immediately after reaching the last match. >> If ‘no-ding’, wrap immediately, but don’t ‘ding’. Finally, if ‘nil’, >> never wrap, but just stop at the last match. >> >> The problem is that everything in this Info node is about >> repeating the search with `C-s C-s'. I can't find a suitable place >> to describe the additional incremental wrapping here. > > Why is this node not appropriate for whatever you want to document? > > Or maybe I don't have a clear idea of what you want to add there? The new additional behavior of ‘no’ and ‘no-ding’ is to wrap on appending a character to the search string. Maybe then something like this: diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 27d4db8541..7cf3a3f5a9 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -228,8 +228,9 @@ Repeat Isearch @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. +but don't @code{ding}. With the values @code{ding} and @code{no-ding} +the search will try to wrap around also on typing a character. +Finally, if @code{nil}, never wrap, but just stop at the last match.