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:29:04 +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="2542"; 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 20:00: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 1oBget-0000W5-U1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 20:00:24 +0200 Original-Received: from localhost ([::1]:48238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBges-0002z4-Cv for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 14:00:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBgeY-0002yo-UG for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 14:00:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBgeY-00021g-Je for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 14:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBgeY-0003JI-C2 for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 14:00:02 -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 18:00: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.165773516412625 (code B ref 56535); Wed, 13 Jul 2022 18:00:02 +0000 Original-Received: (at 56535) by debbugs.gnu.org; 13 Jul 2022 17:59:24 +0000 Original-Received: from localhost ([127.0.0.1]:47733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBgdv-0003HY-TI for submit@debbugs.gnu.org; Wed, 13 Jul 2022 13:59:24 -0400 Original-Received: from mail-ed1-f54.google.com ([209.85.208.54]:44722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBgdt-0003HL-TD for 56535@debbugs.gnu.org; Wed, 13 Jul 2022 13:59:22 -0400 Original-Received: by mail-ed1-f54.google.com with SMTP id m16so15081505edb.11 for <56535@debbugs.gnu.org>; Wed, 13 Jul 2022 10:59:21 -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=IQDpFIRreeGECuB8QDJtDhKlTYhfyGqo587n+siIri4=; b=cB6KkKuS1JJO41ubqkVBM6win94YtcoOH4IH/pCWcPZz8KwWlIct24/egvO/yB6C+J sc3BPFkU4gBUuwZDIgZm1B1yUOjQF8h/Tv+SXm1YEzExXlSkF0COm6ygSFGEurQ96zj3 0LIKOXreK9+ok7tppPGixCS7rkcxiHtksSYEV0yrH3EgdPxo2z8z6r6Gy+Mn9OtKonvp W87IoJ6IpUdxeLv4nhsmxb7blC254xmqgXjs0NOb88lkfIcRH3XBl9yJvghNgMeFy96P AEcxAZ3cXtJyvSEpsAAhFjxh5vY8Y+hcoQRYGTS8Wu0nOUzP8DFNKzkI6CUF4xpbn/iT PaQA== 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=IQDpFIRreeGECuB8QDJtDhKlTYhfyGqo587n+siIri4=; b=wDC38iEGFpdliBJ8KPN8z0cxIjEUZ+phFNYJZI/ydjdIQloR+gWMd+WIi/To5hkVBy kye3fFjBKqOb4gL5bKXODl5Dx4KEEixXf75hVO1uLjyNRmjDATz0gcolPeRXQTFqyX23 FaHyrWFcMSIe+PLzLoODkc/FME3EfXw+LqiuhZKliAlutBUwKdeGx8I+cBFFwpt9LCZW pNq0FRvrU5EnYh07G2MesvHAS3xyttlw0ir7I3ayVSyxMRTeD8fudvaz/Ia/Eu4kVa9y aIBZ4KEd8si03F38DRq/fOHmiypbDI5yZ+iyL7rqVEVySQceDDlVq6euMQtU9Vyde+FN +MkA== X-Gm-Message-State: AJIora8zmdtwRuXhXeoU9L7yjts4szy9NEbIh5jBm/dVxJQSDBku0AGh sQQ5Ga3DSNPln45DX7Ds6TSmP3MvU0YUZVE2TCs= X-Google-Smtp-Source: AGRyM1taB8fYU5/xpq52dQooWVXImMPj+Dj04x2tzbPhk+C7QSpVxAAwINSRMhRwyimS+2Zg3CGmyeg4PR+c8GLcgyo= X-Received: by 2002:a05:6402:350b:b0:43a:e18e:dee6 with SMTP id b11-20020a056402350b00b0043ae18edee6mr6599261edd.31.1657735155897; Wed, 13 Jul 2022 10:59:15 -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:236923 Archived-At: When I set the isearch-wrap-pause option to `no' or `no-ding', it still displays "Failing I-search backward" on entering a non-matching character. I still have to press C-r again to wrap around. This is the same behaviour as having set the value of isearch-wrap-pause to t. On Wed, 13 Jul 2022 at 23:23, Arun V wrote: > > 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-Isear= ch.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, = never > > 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 Li= nux. > > > > > > 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 a= t > > > 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 > > > > -- > -- > Thanks and regards, > Arunlal Venugopal --=20 -- Thanks and regards, Arunlal Venugopal