bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12600: 24.2.50; linum-mode: line numbers in fringe do not refresh wh


From: Stefan Monnier
Subject: bug#12600: 24.2.50; linum-mode: line numbers in fringe do not refresh when resizing frame
Date: Fri, 12 Oct 2012 10:55:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

> When last_modifed_flag is set, the window must be redisplayed.

No: last_modifed_flag is (normally) only set at the end of redisplay, so
the in the future you can check if redisplay is needed by comparing it
with the buffer's modiff.

> assignment.  OTOH when the buffer iself is modified it has to be
> redisplayed anyway because we hardly know where the change happened.

But instead of going through all the windows that display this buffer,
we just change the buffer's modiff, so it will cause all the
(last_modifed_flag == modiff) checks to fail in the windows that display
this buffer.

BTW, I'm interested in display-optimizations because I sometimes suffer
from severe delays, apparently linked to my use of numerous frames.I
haven't dug into yet enough to know really what's going on, but I have
the impression that I hit a pathological case where optimizations end up
completely disabled such that even after as simple commands as C-f (but
which might do more than meets the idea because of things like
hl-line-mode and reveal-mode, maybe) all the windows/frames get
a redisplay.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]