* bug#3471: 23.0.94; linum-mode and invisible lines
@ 2009-06-05 2:35 Leo
2016-07-27 22:34 ` Nicolas Petton
0 siblings, 1 reply; 2+ messages in thread
From: Leo @ 2009-06-05 2:35 UTC (permalink / raw)
To: emacs-pretest-bug; +Cc: Markus Triska
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#3471: 23.0.94; linum-mode and invisible lines
2009-06-05 2:35 bug#3471: 23.0.94; linum-mode and invisible lines Leo
@ 2016-07-27 22:34 ` Nicolas Petton
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Petton @ 2016-07-27 22:34 UTC (permalink / raw)
To: Leo; +Cc: 3471-done, 3471
Leo <sdl.web@gmail.com> writes:
Hi Leo,
> 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.
This bug report is pretty, and I cannot reproduce it on a recent build
of Emacs:
- open a magit status buffer with large uncommitted changes (234000
lines)
- Evaluate `linum-mode'
The result is instantaneous with Emacs built from master today, on a 2nd
Gen Intel i5 (i5-2520M CPU @ 2.50GHz).
I'm closing this ticket, and while I can't reproduce the issue, feel
free to reopen this ticket if you can.
Cheers,
Nico
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-27 22:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-05 2:35 bug#3471: 23.0.94; linum-mode and invisible lines Leo
2016-07-27 22:34 ` Nicolas Petton
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).