GNU bug report logs - #29321
Isearch hit count

Previous Next

Package: emacs;

Reported by: charles <at> aurox.ch (Charles A. Roelli)

Date: Thu, 16 Nov 2017 19:28:02 UTC

Severity: wishlist

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

Bug is archived. No further changes may be made.

Full log


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

From: Drew Adams <drew.adams <at> oracle.com>
To: Juri Linkov <juri <at> linkov.net>, charles <at> aurox.ch
Cc: 29321 <at> debbugs.gnu.org
Subject: RE: bug#29321: Isearch hit count
Date: Sat, 27 Oct 2018 20:35:26 -0700 (PDT)
I'm seeing a bug, I think, when I switch directions.  I
applied your patch manually, so perhaps I made a mistake,
but this is what I see:

E.g., I search for "ea" in the patched isearch.el, starting
about 1/2 way through the file, say at the beginning of the
line "(isearch-define-mode-toggle invisible..."

First, when I hit `C-s ea' I see 1248/2520, but then another
`C-s' shows 1249/2530 - the total has jumped by 10.

I continue searching forward, and the numbering seems normal:
1250/2530, 1251/2530.  OK, so the initial total was off by 10.

But at match #1251 I switch to `C-r', and the match number is
1241/2520: both the match number and the total are off by 10.

On a small buffer I don't notice this problem.

Do you see this too?  If not, maybe I patched mistakenly.

----

Another problem I see is that sometimes when I switch
directions no match number is displayed.  After a few
repeated searches in the new direction sometimes the match
number reappears.

E.g., I start and repeat a forward search for "ea" a few
lines before the end of the buffer, then I reverse to `C-r'.

But this problem is not reproducible reliably: sometimes
it happens, sometimes the match number is shown each time,
immediately.

Dunno whether you will see this one.  But if I didn't make
a mistake applying the patch (to vanilla isearch.el) then
I think you should be able to see the wrong-numbers problem.




This bug report was last modified 6 years and 241 days ago.

Previous Next


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