GNU bug report logs - #56535
28.1; `no' and `no-ding' values for isearch-wrap-pause option (since Emacs 28.1) not working as documented

Previous Next

Package: emacs;

Reported by: Arun V <arunlalv04 <at> gmail.com>

Date: Wed, 13 Jul 2022 11:54:01 UTC

Severity: normal

Tags: moreinfo

Found in version 28.1

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56535 in the body.
You can then email your comments to 56535 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Wed, 13 Jul 2022 11:54:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arun V <arunlalv04 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 13 Jul 2022 11:54:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arun V <arunlalv04 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 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 12:51:53 +0530
1. Start emacs (vanilla install) with -Q option in command line
2. Select `Specific Option' from File Menu > Options > Customize Emacs
3. Specify isearch-wrap-pause option when prompted with `Customize variable:'
4. Click on the Value Menu button in the Customize Option buffer
5. Select either `No pause before wrapping' or `No pause and no flashing' value
6. Click on the "Apply" button in the same buffer
7. Perform an applicable forward or reverse search
8. Search wrap fails

In GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24,
cairo version 1.16.0)
of 2022-06-03 built on payasam
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)


Configured features:

ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
X11 XDBE XIM XPM GTK3 ZLIB

Important settings:

value of $LANG: en_IN
value of $XMODIFIERS: @im=ibus
locale-coding-system: iso-latin-1-unix


Major mode: Custom


Minor modes in effect:

tooltip-mode: t
global-eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t

Load-path shadows:
None found.


Features:

(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail
rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json map text-property-search mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
misearch multi-isearch seq byte-opt gv bytecomp byte-compile cconv
thingatpt help-fns radix-tree help-mode cus-edit pp cus-start cus-load
wid-edit time-date subr-x cl-loaddefs cl-lib iso-transl tooltip eldoc
paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode
mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice
button loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)


Memory information:

((conses 16 73697 9000)
(symbols 48 8461 1)
(strings 32 23365 1869)
(string-bytes 1 725489)
(vectors 16 15533)
(vector-slots 8 201941 7551)
(floats 8 29 38)
(intervals 56 229 0)
(buffers 992 12))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Wed, 13 Jul 2022 12:07:02 GMT) Full text and rfc822 format available.

Message #8 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Arun V <arunlalv04 <at> gmail.com>
Cc: 56535 <at> debbugs.gnu.org
Subject: Re: 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 15:06:09 +0300
> From: Arun V <arunlalv04 <at> gmail.com>
> Date: Wed, 13 Jul 2022 12:51:53 +0530
> 
> 1. Start emacs (vanilla install) with -Q option in command line
> 2. Select `Specific Option' from File Menu > Options > Customize Emacs
> 3. Specify isearch-wrap-pause option when prompted with `Customize variable:'
> 4. Click on the Value Menu button in the Customize Option buffer
> 5. Select either `No pause before wrapping' or `No pause and no flashing' value
> 6. Click on the "Apply" button in the same buffer
> 7. Perform an applicable forward or reverse search
> 8. Search wrap fails

I cannot reproduce this here.




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 13 Jul 2022 12:43:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Wed, 13 Jul 2022 17:00:02 GMT) Full text and rfc822 format available.

Message #13 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Arun V <arunlalv04 <at> gmail.com>
Cc: 56535 <at> debbugs.gnu.org
Subject: Re: 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 19:59:11 +0300
[Please use Reply All to keep the bug tracker on the CC list.]

> From: Arun V <arunlalv04 <at> gmail.com>
> 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 Linux.

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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Wed, 13 Jul 2022 17:23:02 GMT) Full text and rfc822 format available.

Message #16 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Visuwesh <visuweshm <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 56535 <at> debbugs.gnu.org, Arun V <arunlalv04 <at> gmail.com>
Subject: Re: 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 22:52:18 +0530
[புதன் ஜூலை 13, 2022] Eli Zaretskii wrote:

> [Please use Reply All to keep the bug tracker on the CC list.]
>
>> From: Arun V <arunlalv04 <at> gmail.com>
>> 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 Linux.
>
> 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.

FWIW, I cannot reproduce it here as well.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Wed, 13 Jul 2022 17:43:01 GMT) Full text and rfc822 format available.

Message #19 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Arun V <arunlalv04 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 56535 <at> debbugs.gnu.org
Subject: Re: 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 22:52:49 +0530
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’t 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 <eliz <at> gnu.org> wrote:
>
> [Please use Reply All to keep the bug tracker on the CC list.]
>
> > From: Arun V <arunlalv04 <at> gmail.com>
> > 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 Linux.
>
> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Wed, 13 Jul 2022 17:53:02 GMT) Full text and rfc822 format available.

Message #22 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Arun V <arunlalv04 <at> gmail.com>
Cc: 56535 <at> debbugs.gnu.org
Subject: Re: 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 20:52:00 +0300
> From: Arun V <arunlalv04 <at> gmail.com>
> Date: Wed, 13 Jul 2022 22:52:49 +0530
> Cc: 56535 <at> debbugs.gnu.org
> 
> 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’t ding. Finally, if nil, never
> wrap, but just stop at the last match."

Here it says "If no-ding, wrap immediately, but don’t ding."  And that
is what I see.  Where is the problem, or what am I missing?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Wed, 13 Jul 2022 17:54:01 GMT) Full text and rfc822 format available.

Message #25 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Arun V <arunlalv04 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Cc: 56535 <at> debbugs.gnu.org
Subject: Re: 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
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 <arunlalv04 <at> gmail.com> 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’t 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 <eliz <at> gnu.org> wrote:
> >
> > [Please use Reply All to keep the bug tracker on the CC list.]
> >
> > > From: Arun V <arunlalv04 <at> gmail.com>
> > > 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 Linux.
> >
> > 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



-- 
--
Thanks and regards,
Arunlal Venugopal




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Wed, 13 Jul 2022 18:00:02 GMT) Full text and rfc822 format available.

Message #28 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Arun V <arunlalv04 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Cc: 56535 <at> debbugs.gnu.org
Subject: Re: 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
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 <arunlalv04 <at> gmail.com> 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 <arunlalv04 <at> gmail.com> 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’t 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 <eliz <at> gnu.org> wrote:
> > >
> > > [Please use Reply All to keep the bug tracker on the CC list.]
> > >
> > > > From: Arun V <arunlalv04 <at> gmail.com>
> > > > 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 Linux.
> > >
> > > 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
>
>
>
> --
> --
> Thanks and regards,
> Arunlal Venugopal



-- 
--
Thanks and regards,
Arunlal Venugopal




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Wed, 13 Jul 2022 18:00:02 GMT) Full text and rfc822 format available.

Message #31 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Arun V <arunlalv04 <at> gmail.com>
Cc: 56535 <at> debbugs.gnu.org, visuweshm <at> gmail.com
Subject: Re: 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 20:59:42 +0300
> From: Arun V <arunlalv04 <at> gmail.com>
> Date: Wed, 13 Jul 2022 23:23:00 +0530
> Cc: 56535 <at> debbugs.gnu.org
> 
> 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.

Ah, your expectations are wrong: Isearch only wraps silently if you
repeatedly type C-r without changing the search string.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Wed, 13 Jul 2022 18:11:02 GMT) Full text and rfc822 format available.

Message #34 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Arun V <arunlalv04 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 56535 <at> debbugs.gnu.org, visuweshm <at> gmail.com
Subject: Re: 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:40:09 +0530
Ahh ok. That clarifies. Thanks for the explanation. And thanks for
your time as well. Please close this bug.

On a side note, automatically wrapping during search string input
would be a cool feature though. ;)

On Wed, 13 Jul 2022 at 23:29, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: Arun V <arunlalv04 <at> gmail.com>
> > Date: Wed, 13 Jul 2022 23:23:00 +0530
> > Cc: 56535 <at> debbugs.gnu.org
> >
> > 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.
>
> Ah, your expectations are wrong: Isearch only wraps silently if you
> repeatedly type C-r without changing the search string.



-- 
--
Thanks and regards,
Arunlal Venugopal




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Wed, 13 Jul 2022 18:13:02 GMT) Full text and rfc822 format available.

Message #37 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Arun V <arunlalv04 <at> gmail.com>
Cc: 56535 <at> debbugs.gnu.org, visuweshm <at> gmail.com
Subject: Re: 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 21:12:41 +0300
> From: Arun V <arunlalv04 <at> gmail.com>
> Date: Wed, 13 Jul 2022 23:29:04 +0530
> Cc: 56535 <at> debbugs.gnu.org
> 
> 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.

I think this is the expected behavior.  This feature only controls
wraparound of repeated Isearch.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Wed, 13 Jul 2022 19:52:01 GMT) Full text and rfc822 format available.

Message #40 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Arun V <arunlalv04 <at> gmail.com>
Cc: 56535 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Subject: Re: 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 22:50:08 +0300
[Message part 1 (text/plain, inline)]
> 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.

It was never intended to wrap around on typing a letter or yanking a text.
If such a behavior is a good idea, it could be added as a new value
to this variable.

Please try the following patch after setting isearch-wrap-pause to the
new value 'auto-repeat':

[isearch-wrap-pause-auto-repeat.patch (text/x-diff, inline)]
diff --git a/lisp/isearch.el b/lisp/isearch.el
index cedbfdc2e8..6e14003614 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2838,6 +2838,9 @@ isearch-search-and-update
 			    isearch-barrier
 			    (1+ isearch-other-end)))))
       (isearch-search)
+      (when (and (eq isearch-wrap-pause 'auto-repeat)
+                 (not isearch-success))
+        (isearch-repeat (if isearch-forward 'forward 'backward)))
       ))
   (isearch-push-state)
   (if isearch-op-fun (funcall isearch-op-fun))

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Sat, 16 Jul 2022 09:22:02 GMT) Full text and rfc822 format available.

Message #43 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Arun V <arunlalv04 <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 56535 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Subject: Re: bug#56535: 28.1; `no' and `no-ding' values for isearch-wrap-pause
 option (since Emacs 28.1) not working as documented
Date: Sat, 16 Jul 2022 14:51:45 +0530
[Message part 1 (text/plain, inline)]
Hey Juri,

Regret the delayed response.

Yes, I do believe this would be a good idea.

Let me try this patch atop emacs-28.1 and get back to you.

On Thu, 14 Jul, 2022, 01:21 Juri Linkov, <juri <at> linkov.net> wrote:

> > 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.
>
> It was never intended to wrap around on typing a letter or yanking a text.
> If such a behavior is a good idea, it could be added as a new value
> to this variable.
>
> Please try the following patch after setting isearch-wrap-pause to the
> new value 'auto-repeat':
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Sat, 16 Jul 2022 17:00:02 GMT) Full text and rfc822 format available.

Message #46 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Arun V <arunlalv04 <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 56535 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Subject: Re: bug#56535: 28.1; `no' and `no-ding' values for isearch-wrap-pause
 option (since Emacs 28.1) not working as documented
Date: Sat, 16 Jul 2022 22:28:52 +0530
Thanks Juri. Your patch works.

On Sat, 16 Jul 2022 at 14:51, Arun V <arunlalv04 <at> gmail.com> wrote:
>
> Hey Juri,
>
> Regret the delayed response.
>
> Yes, I do believe this would be a good idea.
>
> Let me try this patch atop emacs-28.1 and get back to you.
>
> On Thu, 14 Jul, 2022, 01:21 Juri Linkov, <juri <at> linkov.net> wrote:
>>
>> > 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.
>>
>> It was never intended to wrap around on typing a letter or yanking a text.
>> If such a behavior is a good idea, it could be added as a new value
>> to this variable.
>>
>> Please try the following patch after setting isearch-wrap-pause to the
>> new value 'auto-repeat':
>>


-- 
--
Thanks and regards,
Arunlal Venugopal




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Sun, 17 Jul 2022 19:36:03 GMT) Full text and rfc822 format available.

Message #49 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Arun V <arunlalv04 <at> gmail.com>
Cc: 56535 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Subject: Re: bug#56535: 28.1; `no' and `no-ding' values for
 isearch-wrap-pause option (since Emacs 28.1) not working as documented
Date: Sun, 17 Jul 2022 22:01:09 +0300
>>> Please try the following patch after setting isearch-wrap-pause to the
>>> new value 'auto-repeat':
>>>
>> Regret the delayed response.
>>
>> Yes, I do believe this would be a good idea.
>>
>> Let me try this patch atop emacs-28.1 and get back to you.
>
> Thanks Juri. Your patch works.

No problem with the delay.  Thanks for confirming that it works.

Now we have to find a better name to describe what it really does.
Probably it should have the prefix "no-" since it makes no pause
like the existing two values 'no' and 'no-ding':

  :type '(choice (const :tag "Pause before wrapping" t)
                 (const :tag "No pause before wrapping" no)
                 (const :tag "No pause and no flashing" no-ding)
                 (const :tag "Disable wrapping" nil))

This raises the question: should it ding and flash on wrapping?
Or two new separate values are needed: one to ding when wrapping
on typing a character, and another not to ding?  To ding, or not to ding?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Wed, 20 Jul 2022 16:17:02 GMT) Full text and rfc822 format available.

Message #52 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Arun V <arunlalv04 <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 56535 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Subject: Re: bug#56535: 28.1; `no' and `no-ding' values for isearch-wrap-pause
 option (since Emacs 28.1) not working as documented
Date: Wed, 20 Jul 2022 21:46:31 +0530
Definitely ding. Lot of people do prefer visual feedback.

How about this?

  :type '(choice (const :tag "Pause before wrapping" t)
                 (const :tag "No pause before wrapping for
non-incremental search" nis-no)
                 (const :tag "No pause and no flashing for
non-incremental search" nis-no-ding)
                 (const :tag "Absolutely no pause before wrapping" no)
 ;;This will cover non-incremental searches as well
                 (const :tag "Absolutely no pause and no flashing"
no-ding)  ;;This will cover non-incremental searches as well
                 (const :tag "Disable wrapping" nil))

On Mon, 18 Jul 2022 at 01:05, Juri Linkov <juri <at> linkov.net> wrote:
>
> >>> Please try the following patch after setting isearch-wrap-pause to the
> >>> new value 'auto-repeat':
> >>>
> >> Regret the delayed response.
> >>
> >> Yes, I do believe this would be a good idea.
> >>
> >> Let me try this patch atop emacs-28.1 and get back to you.
> >
> > Thanks Juri. Your patch works.
>
> No problem with the delay.  Thanks for confirming that it works.
>
> Now we have to find a better name to describe what it really does.
> Probably it should have the prefix "no-" since it makes no pause
> like the existing two values 'no' and 'no-ding':
>
>   :type '(choice (const :tag "Pause before wrapping" t)
>                  (const :tag "No pause before wrapping" no)
>                  (const :tag "No pause and no flashing" no-ding)
>                  (const :tag "Disable wrapping" nil))
>
> This raises the question: should it ding and flash on wrapping?
> Or two new separate values are needed: one to ding when wrapping
> on typing a character, and another not to ding?  To ding, or not to ding?



-- 
--
Thanks and regards,
Arunlal Venugopal




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Wed, 20 Jul 2022 18:09:02 GMT) Full text and rfc822 format available.

Message #55 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Arun V <arunlalv04 <at> gmail.com>
Cc: 56535 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Subject: Re: bug#56535: 28.1; `no' and `no-ding' values for
 isearch-wrap-pause option (since Emacs 28.1) not working as documented
Date: Wed, 20 Jul 2022 20:51:59 +0300
>> Now we have to find a better name to describe what it really does.
>> Probably it should have the prefix "no-" since it makes no pause
>> like the existing two values 'no' and 'no-ding':
>>
>>   :type '(choice (const :tag "Pause before wrapping" t)
>>                  (const :tag "No pause before wrapping" no)
>>                  (const :tag "No pause and no flashing" no-ding)
>>                  (const :tag "Disable wrapping" nil))
>>
>> This raises the question: should it ding and flash on wrapping?
>> Or two new separate values are needed: one to ding when wrapping
>> on typing a character, and another not to ding?  To ding, or not to ding?
>
> Definitely ding. Lot of people do prefer visual feedback.
>
> How about this?
>
> :type '(choice
> (const :tag "Pause before wrapping" t)
> (const :tag "No pause before wrapping for non-incremental search" nis-no)
> (const :tag "No pause and no flashing for non-incremental search" nis-no-ding)
> ;;This will cover non-incremental searches as well
> (const :tag "Absolutely no pause before wrapping" no)
> ;;This will cover non-incremental searches as well
> (const :tag "Absolutely no pause and no flashing" no-ding)
> (const :tag "Disable wrapping" nil))

I suppose non-incremental search here means repeatable search,
i.e. the search that is being repeated with C-s C-s.
Maybe then better to emphasize this difference explicitly?
For example: 'inc-no' and 'inc-no-ding' for incremental wrapping,
and leave the existing 'no' and 'no-ding' for repeatable wrapping.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Thu, 21 Jul 2022 20:00:02 GMT) Full text and rfc822 format available.

Message #58 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Arun V <arunlalv04 <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 56535 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Subject: Re: bug#56535: 28.1; `no' and `no-ding' values for isearch-wrap-pause
 option (since Emacs 28.1) not working as documented
Date: Fri, 22 Jul 2022 01:29:16 +0530
>I suppose non-incremental search here means repeatable search,
>i.e. the search that is being repeated with C-s C-s.
>Maybe then better to emphasize this difference explicitly?
>For example: 'inc-no' and 'inc-no-ding' for incremental wrapping,
>and leave the existing 'no' and 'no-ding' for repeatable wrapping.

I too thought of it as this would preserve the original meaning of the
current values in letter and spirit.

But won't it give the notion that 'inc-no-ding' and 'no-ding' are
mutually exclusive?
Meaning, setting value as 'inc-no-ding' won't wrap for repeatable
searches, and setting 'no-ding' won't wrap for incremental searches.

Shouldn't we be conveying that one of the options includes/performs
the behaviour of all the other ones, in addition to handling the new
scenario?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Fri, 22 Jul 2022 08:09:02 GMT) Full text and rfc822 format available.

Message #61 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Arun V <arunlalv04 <at> gmail.com>
Cc: 56535 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Subject: Re: bug#56535: 28.1; `no' and `no-ding' values for
 isearch-wrap-pause option (since Emacs 28.1) not working as documented
Date: Fri, 22 Jul 2022 10:31:48 +0300
>>I suppose non-incremental search here means repeatable search,
>>i.e. the search that is being repeated with C-s C-s.
>>Maybe then better to emphasize this difference explicitly?
>>For example: 'inc-no' and 'inc-no-ding' for incremental wrapping,
>>and leave the existing 'no' and 'no-ding' for repeatable wrapping.
>
> I too thought of it as this would preserve the original meaning of the
> current values in letter and spirit.
>
> But won't it give the notion that 'inc-no-ding' and 'no-ding' are
> mutually exclusive?
> Meaning, setting value as 'inc-no-ding' won't wrap for repeatable
> searches, and setting 'no-ding' won't wrap for incremental searches.
>
> Shouldn't we be conveying that one of the options includes/performs
> the behaviour of all the other ones, in addition to handling the new
> scenario?

It's difficult to choose self-descriptive symbols.  So we need to have
just good enough symbol names, then describe their exact meaning in the
documentation.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Fri, 22 Jul 2022 09:10:01 GMT) Full text and rfc822 format available.

Message #64 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Arun V <arunlalv04 <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 56535 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Subject: Re: bug#56535: 28.1; `no' and `no-ding' values for isearch-wrap-pause
 option (since Emacs 28.1) not working as documented
Date: Fri, 22 Jul 2022 14:39:30 +0530
> It's difficult to choose self-descriptive symbols.  So we need to have
> just good enough symbol names, then describe their exact meaning in the
> documentation.

Then I guess introducing 'inc-no' and 'inc-no-ding' for incremental
wrapping should do as it preserves the meaning of the existing values.

Just  one more question.

Why shouldn't the behaviour of 'no' and 'no-ding' be changed to handle
incremental searches as well, instead of introducing new values?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Sun, 24 Jul 2022 17:18:01 GMT) Full text and rfc822 format available.

Message #67 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Arun V <arunlalv04 <at> gmail.com>
Cc: 56535 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Subject: Re: bug#56535: 28.1; `no' and `no-ding' values for
 isearch-wrap-pause option (since Emacs 28.1) not working as documented
Date: Sun, 24 Jul 2022 19:38:27 +0300
[Message part 1 (text/plain, inline)]
>> It's difficult to choose self-descriptive symbols.  So we need to have
>> just good enough symbol names, then describe their exact meaning in the
>> documentation.
>
> Then I guess introducing 'inc-no' and 'inc-no-ding' for incremental
> wrapping should do as it preserves the meaning of the existing values.
>
> Just  one more question.
>
> Why shouldn't the behaviour of 'no' and 'no-ding' be changed to handle
> incremental searches as well, instead of introducing new values?

Good question.  The reason was to maintain "backward-compatibility".
But do we really need to restrict the existing values only to C-s C-s,
and not to incremental commands?  In this case here is a new patch:

[isearch-wrap-pause-auto-repeat.patch (text/x-diff, inline)]
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 8f480a87d9..ad30b5e514 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2838,6 +2839,9 @@ isearch-search-and-update
 			    isearch-barrier
 			    (1+ isearch-other-end)))))
       (isearch-search)
+      (when (and (memq isearch-wrap-pause '(no no-ding))
+                 (not isearch-success))
+        (isearch-repeat (if isearch-forward 'forward 'backward)))
       ))
   (isearch-push-state)
   (if isearch-op-fun (funcall isearch-op-fun))

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Mon, 25 Jul 2022 07:25:01 GMT) Full text and rfc822 format available.

Message #70 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Arun V <arunlalv04 <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 56535 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Subject: Re: bug#56535: 28.1; `no' and `no-ding' values for isearch-wrap-pause
 option (since Emacs 28.1) not working as documented
Date: Mon, 25 Jul 2022 12:53:43 +0530
> Good question.  The reason was to maintain "backward-compatibility".
> But do we really need to restrict the existing values only to C-s C-s,
> and not to incremental commands?  In this case here is a new patch:


I tested your patch and it works, Juri.

Yep, "backward-compatibility" is one reason. But, in effect this patch
will also retain part of the original behaviour.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Sun, 31 Jul 2022 17:37:02 GMT) Full text and rfc822 format available.

Message #73 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Arun V <arunlalv04 <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 56535 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Subject: Re: bug#56535: 28.1; `no' and `no-ding' values for isearch-wrap-pause
 option (since Emacs 28.1) not working as documented
Date: Sun, 31 Jul 2022 23:06:20 +0530
[Message part 1 (text/plain, inline)]
Juri,

Just curious to know if this patch will be included as part of the next
release.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Sun, 31 Jul 2022 20:12:02 GMT) Full text and rfc822 format available.

Message #76 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Arun V <arunlalv04 <at> gmail.com>
Cc: 56535 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Subject: Re: bug#56535: 28.1; `no' and `no-ding' values for
 isearch-wrap-pause option (since Emacs 28.1) not working as documented
Date: Sun, 31 Jul 2022 22:58:25 +0300
> Just curious to know if this patch will be included as part of the next
> release.

The problem is that I was stuck when trying to document the
new non-repeatable incremental behavior of the old values
`no' and `no-ding' of `isearch-wrap-pause'.

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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Mon, 01 Aug 2022 11:06:02 GMT) Full text and rfc822 format available.

Message #79 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 56535 <at> debbugs.gnu.org, arunlalv04 <at> gmail.com, visuweshm <at> gmail.com
Subject: Re: 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 14:05:01 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  visuweshm <at> gmail.com,  56535 <at> debbugs.gnu.org
> Date: Sun, 31 Jul 2022 22:58:25 +0300
> 
> 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?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Mon, 01 Aug 2022 18:18:02 GMT) Full text and rfc822 format available.

Message #82 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 56535 <at> debbugs.gnu.org, arunlalv04 <at> gmail.com, visuweshm <at> gmail.com
Subject: Re: 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
>> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Mon, 01 Aug 2022 18:23:01 GMT) Full text and rfc822 format available.

Message #85 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 56535 <at> debbugs.gnu.org, arunlalv04 <at> gmail.com, visuweshm <at> gmail.com
Subject: Re: 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 21:22:20 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Cc: arunlalv04 <at> gmail.com,  visuweshm <at> gmail.com,  56535 <at> debbugs.gnu.org
> Date: Mon, 01 Aug 2022 20:55:43 +0300
> 
> 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.

LGTM, since that node already describes what happens when the search
wraps.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Mon, 01 Aug 2022 19:22:23 GMT) Full text and rfc822 format available.

Message #88 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 56535 <at> debbugs.gnu.org, arunlalv04 <at> gmail.com, visuweshm <at> gmail.com
Subject: Re: 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 22:19:46 +0300
close 56535 29.0.50
thanks

>> @@ -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.
>
> LGTM, since that node already describes what happens when the search
> wraps.

So now pushed and closed.




bug marked as fixed in version 29.0.50, send any further explanations to 56535 <at> debbugs.gnu.org and Arun V <arunlalv04 <at> gmail.com> Request was from Juri Linkov <juri <at> linkov.net> to control <at> debbugs.gnu.org. (Mon, 01 Aug 2022 19:22:39 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56535; Package emacs. (Tue, 02 Aug 2022 05:43:01 GMT) Full text and rfc822 format available.

Message #93 received at 56535 <at> debbugs.gnu.org (full text, mbox):

From: Arun V <arunlalv04 <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 56535 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, visuweshm <at> gmail.com
Subject: Re: bug#56535: 28.1; `no' and `no-ding' values for isearch-wrap-pause
 option (since Emacs 28.1) not working as documented
Date: Tue, 2 Aug 2022 11:12:29 +0530
Thanks Juri, Eli.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 30 Aug 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 344 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.