GNU bug report logs - #56393
Actually fix the long lines display bug

Previous Next

Package: emacs;

Reported by: Gregory Heytings <gregory <at> heytings.org>

Date: Tue, 5 Jul 2022 08:50:02 UTC

Severity: normal

Done: Gregory Heytings <gregory <at> heytings.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: gerd.moellmann <at> gmail.com, larsi <at> gnus.org, 56393 <at> debbugs.gnu.org
Subject: bug#56393: Actually fix the long lines display bug
Date: Sat, 09 Jul 2022 11:20:30 +0000
>> Here's one problem caused by using PT in get_narrowed_begv:
>>
>>  emacs -Q
>>  C-x C-f src/xdisp.c RET
>>  C-x 2
>>  M->
>> 
>> Now move the mouse pointer over the "other" window, the one which still 
>> shows xdisp.c at BOB, and turn the mouse wheel to scroll the window 
>> towards the end of the buffer.  This segfaults:
>> 
>> The problem is that narrowed_begv was computed using PT, which doesn't 
>> correspond to the window's point, and so the logic in 
>> get_visually_first_element backfires.
>
> Yes, I understand and noted that I should use window-point instead of 
> PT.
>

(That being said, I cannot reproduce that here either.)




This bug report was last modified 3 years and 33 days ago.

Previous Next


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