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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24584 in the body.
You can then email your comments to 24584 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#24584; Package emacs. (Sat, 01 Oct 2016 21:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dima Kogan <dima <at> secretsauce.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 01 Oct 2016 21:07:02 GMT) Full text and rfc822 format available.

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

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 1 (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)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24584; Package emacs. (Sat, 08 Oct 2016 09:38:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dima Kogan <dima <at> secretsauce.net>
Cc: 24584 <at> debbugs.gnu.org
Subject: Re: bug#24584: 25.1;
 Without fringe-mode, search highlighting on long lines breaks
Date: Sat, 08 Oct 2016 12:37:05 +0300
> From: Dima Kogan <dima <at> secretsauce.net>
> Date: Sat, 01 Oct 2016 14:05:36 -0700
> 
> 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.

Should be fixed now on the emacs-25 branch, please test.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24584; Package emacs. (Sun, 09 Oct 2016 10:47:02 GMT) Full text and rfc822 format available.

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

From: Dima Kogan <dima <at> secretsauce.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 24584 <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:18 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

> Should be fixed now on the emacs-25 branch, please test.

That did it. Thanks!




Reply sent to Dima Kogan <dima <at> secretsauce.net>:
You have taken responsibility. (Sun, 09 Oct 2016 10:48:02 GMT) Full text and rfc822 format available.

Notification sent to Dima Kogan <dima <at> secretsauce.net>:
bug acknowledged by developer. (Sun, 09 Oct 2016 10:48:02 GMT) Full text and rfc822 format available.

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

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 06 Nov 2016 12:24:04 GMT) Full text and rfc822 format available.

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.