GNU bug report logs -
#3471
23.0.94; linum-mode and invisible lines
Previous Next
Reported by: Leo <sdl.web <at> gmail.com>
Date: Fri, 5 Jun 2009 02:45:04 UTC
Severity: normal
Done: Nicolas Petton <nicolas <at> petton.fr>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
In buffers where many many lines are invisible, enabling linum-mode
would take a long time and C-g won't be able to stop it.
More specifically, I use magit to manage a small git repo, its status
buffer at the moment has 11850 lines (buffer size 366524) with only <
100 lines visible. Running linum-mode on it would freeze emacs for a few
minutes on a intel core duo 2.0G machine. It looks like linum has wasted
a lot of time on invisible lines. Is that necessary?
Although I'm aware that I can work around it by setting
line-number-display-limit but my feeling is linum is doing something
inefficiently.
GNU Emacs 23.0.94.1 (i386-apple-darwin9.7.0, NS apple-appkit-949.46) of
2009-05-23 on 200.sub-75-216-116.myvzw.com
Thanks.
Leo
This bug report was last modified 8 years and 359 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.