"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Mikhail <mp39590@gmail.com>
Subject:
Re: tog: "search wrapped" notifications
To:
Mark Jamsek <mark@jamsek.com>
Cc:
gameoftrees@openbsd.org
Date:
Mon, 1 May 2023 09:05:52 +0300

Download raw body.

Thread
On Mon, May 01, 2023 at 12:10:32PM +1000, Mark Jamsek wrote:
> PS. I don't know how but I missed op's message in the linked thread
> (pasting here for convenience):
> 
> ----8<------------
> maybe we could have tog display "no more matches" and stop.  Then, if
> n is pressed again right after, it wraps.
> 
> This is the standard behaviour of isearch on Emacs, which I find quite
> nice since it's clear when you have reached the last match and can still
> wrap around if you want to.
> ------------>8----
> 
> I really like this idea!
> 
> If this is something you would like, too, Mikhail, and have the time to
> implement, this would be nice to have. Otherwise I can do this after
> exams in a few weeks.

I think non-vim/non-less behaviour can confuse users (it would confuse
me).