GNU bug report logs - #56815
29.0.50; Isearch lazy-highlight highlights too much when truncate-lines is in effect

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Thu, 28 Jul 2022 17:30:01 UTC

Severity: normal

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: larsi <at> gnus.org, 56815 <at> debbugs.gnu.org, gregory <at> heytings.org
Subject: bug#56815: 29.0.50; Isearch lazy-highlight highlights too much when truncate-lines is in effect
Date: Sat, 27 Aug 2022 22:52:29 +0300
>>> >>   (or truncate-lines (truncated-partial-width-window-p))
>>> >
>>> > Fine by me.
>>> 
>>> Then I'll push a better patch:
>>
>> Btw, I didn't use window-total-width instead of window-width.  What I
>> did mimics what the display engine does when it determines whether to
>> truncate lines in a window.  So I think
>> truncated-partial-width-window-p should be fixed to use
>> window-total-width instead.
>
> Now this patch fixes truncated-partial-width-window-p to use
> window-total-width.  Also it fixes the recent code for
> long_line_optimizations_p in scan_for_column to better mimic
> what the display engine does:

Now pushed to master.




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

Previous Next


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