GNU bug report logs - #24584
25.1; Without fringe-mode, search highlighting on long lines breaks

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Sat, 1 Oct 2016 21:07:02 UTC

Severity: normal

Found in version 25.1

Done: Dima Kogan <dima <at> secretsauce.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dima Kogan <dima <at> secretsauce.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24584: closed (25.1; Without fringe-mode, search highlighting
 on long lines breaks)
Date: Sun, 09 Oct 2016 10:48:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 09 Oct 2016 03:46:59 -0700
with message-id <87y41xx0ik.fsf <at> secretsauce.net>
and subject line Re: bug#24584: 25.1; Without fringe-mode, search highlighting on long lines breaks
has caused the debbugs.gnu.org bug report #24584,
regarding 25.1; Without fringe-mode, search highlighting on long lines breaks
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
24584: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24584
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dima Kogan <dima <at> secretsauce.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; Without fringe-mode, search highlighting on long lines breaks
Date: Sat, 01 Oct 2016 14:05:36 -0700
[Message part 3 (text/plain, inline)]
Hi.

I just found an unexpected interaction of fringe-mode and isearch. Let's
say you have the attached file (composed of random dictionary words on
two very long lines) called 'txt'. Then you

1. emacs -Q /tmp/txt
2. M-x toggle-truncate-lines
3. M-> (to go to end of buffer)
4. C-r threatened

As you type "threatened" letter by letter, you see the search jump to
the match, and the match is highlighted. This is correct. Now do

5. M-x fringe-mode no-fringes
6. M-> (to go to end of buffer)
7. C-r threatened

When you type "threatened" now, the behavior is correct through "th",
but when you hit "r", the buffer scrolls back to the beginning of the
line, and you can't see the match anymore.

I haven't done any debugging other than figuring out the exact thing
that makes it break: turning off fringe mode. If the exact cause isn't
obvious to somebody here, I'll debug it myself in a bit.



[txt (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Dima Kogan <dima <at> secretsauce.net>
To: 24584-done <at> debbugs.gnu.org
Subject: Re: bug#24584: 25.1;
 Without fringe-mode, search highlighting on long lines breaks
Date: Sun, 09 Oct 2016 03:46:59 -0700
Eli fixed it in 197a6bcc20cecba40b56ae478d42a33eb1e19d57


This bug report was last modified 8 years and 226 days ago.

Previous Next


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