GNU bug report logs - #12600
24.2.50; linum-mode: line numbers in fringe do not refresh when resizing frame

Previous Next

Package: emacs;

Reported by: Christoph Scholtes <cschol2112 <at> gmail.com>

Date: Sun, 7 Oct 2012 23:05:01 UTC

Severity: normal

Merged with 11496

Found in versions 24.1.50, 24.2.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 12600 <at> debbugs.gnu.org
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
> 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




This bug report was last modified 12 years and 256 days ago.

Previous Next


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