From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arun V 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: Wed, 13 Jul 2022 23:23:00 +0530 Message-ID: References: <83a69dw72m.fsf@gnu.org> <83wnchuexs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9955"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56535@debbugs.gnu.org To: Eli Zaretskii , visuweshm@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 13 19:54:24 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 1oBgZ5-0002QK-QR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 19:54:23 +0200 Original-Received: from localhost ([::1]:41820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBgZ4-0006r5-Hs for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 13:54:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBgYk-0006qx-0N for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 13:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53823) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBgYj-0006OR-Nh for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 13:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBgYj-00037G-MV for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 13:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arun V Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jul 2022 17:54:01 +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.165773480011921 (code B ref 56535); Wed, 13 Jul 2022 17:54:01 +0000 Original-Received: (at 56535) by debbugs.gnu.org; 13 Jul 2022 17:53:20 +0000 Original-Received: from localhost ([127.0.0.1]:47720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBgY3-00036B-MV for submit@debbugs.gnu.org; Wed, 13 Jul 2022 13:53:19 -0400 Original-Received: from mail-ed1-f45.google.com ([209.85.208.45]:36656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBgY1-00035z-UC for 56535@debbugs.gnu.org; Wed, 13 Jul 2022 13:53:18 -0400 Original-Received: by mail-ed1-f45.google.com with SMTP id y8so15088251eda.3 for <56535@debbugs.gnu.org>; Wed, 13 Jul 2022 10:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=RAsV5TdgH8MSfxSeKGW4v8u86TK7Il33bzoxA6T+KAs=; b=SXV7h9HFmwu0C5ZHa3e8P6yEGNKdqpewi8Rc9siOOMwlVAEZzobO4aYk3IQtZXj6zU iyULFReBh32a9fy7OyAx5vRIGTKPuhLCJ63QsLrejNNHVtFSsMKkIxZe6gxG+uttjJyL wnQsFQI0sHlR33liLQaUxjOltzmtIBdErQS/WsNiz/E7dpOMqE0XOzGrtCMxoqhvU81O w7O+xpHzQHXJ1QX2kWPaUwaG8YZF9Y6QeLB6LS3wWzx33V2QaE538vU5qWRbrzimOuKm jbEzuf3IdFdurb2vjeBGUOCzSInxbaw7spMAIZ4VYAfLvqu26ZAezQt2NyL94p8UpbHn fxCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=RAsV5TdgH8MSfxSeKGW4v8u86TK7Il33bzoxA6T+KAs=; b=AXC/UXWV7D/Y5W5LcYuZebvpzMzqeCBes9GBd2qi5j+57VKjbEawfMR2ZFj4hEPs5P cb6EUYJpCqeYo9dD28ATPypBqVeTMPfLXXOVooebo5Qj1aqP3+phT441aLklmO0ehORb nMLtwWuqqiAE00EMoMAClXK8JgMZNotnvORq/f6j89DXv0+ITuHIK+qwDu0gU5JEvcDB SZSx1UCHdZno5wryzgS+3QNVpdTuyJHTCpQNtF4+6KP6fBKKWzAxN8MjHilCeeru+6Jy NvR6ia+V69tr8yTrkM2mu24pOSHeg2pvJ738RRrTej9ScW8JMurb9uR/Te1fr/PFVJqU 3mpA== X-Gm-Message-State: AJIora+LfEFqMtjAU0aoXB9LeyLxFR2AFUSw0cb4e6rhJP1pcdydewb9 0LPoV2fpUlWSNhacGqiAkEesBAVbu10tuI0Qvs4= X-Google-Smtp-Source: AGRyM1vfQ1igkQZXD8cckOqgDCkf4ydVSprwX/C1hh/9ES7oC6F1liwnz7TREaxAlwDfddvg0id6/cC42LA8cXTwwwI= X-Received: by 2002:a05:6402:270b:b0:43a:d89e:8c2d with SMTP id y11-20020a056402270b00b0043ad89e8c2dmr6510915edd.413.1657734791962; Wed, 13 Jul 2022 10:53:11 -0700 (PDT) In-Reply-To: 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:236920 Archived-At: For more clarity, here's an example. Assume it's a plain vanilla emacs install with all options set to their default values, and it has in it a buffer with the following content (of just 3 lines). Line one of buffer Line two of buffer Line three of buffer If the point is at the beginning of the second line, and we issue a C-r and start typing the following characters "L", "i", "n", "e", " ", the point would be moved to the first line. If we continue to type "t", the minibuffer will display "Failing I-search backward" and the point will still remain on the first line. If we press C-r again, the minibuffer will display "Wrapped I-search backward" and move the point to the third line. This is the default behaviour (with isearch-wrap-pause set to t). I can see the documented behaviour when I set the value to nil i.e. no wrap around. But when I set the value to `no' or `no-ding', I was expecting the point to automatically move to the third line immediately after typing "t" as mentioned in the above use case. Atleast, this is what I could understand from the documentation. Please correct me if I'm wrong. On Wed, 13 Jul 2022 at 22:52, Arun V wrote: > > Typing C-s over and over does wrap around at the end of the buffer. > But that shouldn't be the behaviour when isearch-wrap-pause is set to > `no' or `no-ding', right? > > The following is an excerpt from the documentation I'm referring to > [https://www.gnu.org/software/emacs/manual/html_node/emacs/Repeat-Isearch= .html] > > "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=E2=80=99t ding. Finally, if nil, ne= ver > wrap, but just stop at the last match." > > Please let me know if I'm missing anything here. > > > On Wed, 13 Jul 2022 at 22:29, Eli Zaretskii wrote: > > > > [Please use Reply All to keep the bug tracker on the CC list.] > > > > > From: Arun V > > > Date: Wed, 13 Jul 2022 21:32:08 +0530 > > > > > > Hi Eli, > > > > > > Shall I share screenshots? > > > I'm able to reproduce this in plain vanilla emacs in Windows and Linu= x. > > > > There's no need to show a screenshot, I believe you. It's just that I > > cannot reproduce the problem: typing C-s over and over wraps around at > > the end of the buffer and goes to the beginning. So I wonder what is > > different on your system that makes this not work. > > > > -- > -- > Thanks and regards, > Arunlal Venugopal --=20 -- Thanks and regards, Arunlal Venugopal