Subject: bug#25654: 24.5; linum and hide-show

From: Stefan Kangas <[email-masked]>
Date: Tue, 11 Aug 2020 00:56:45 -0700

Eli Zaretskii <[email-masked]> writes:

>> From: Abdul-Lateef Haji-Ali <[email-masked]>
>> Date: Wed, 8 Feb 2017 17:36:31 +0000
>>
>> When working on huge files, it seems that when hide-show collapses a
>> large multi-line block, linum still creates hidden overlays for every
>> line in the hidden block leading to unresponsive emacs.
>
> Yes.
>
>> To reproduce:
>> Create a new file, enable c-mode, hs-minor-mode and
>> linum-mode, create a huge block by typing: { C-u 10000 RET } then
>> execute hs-hide-all and watch Emacs become unresponsive.
>
> You may wish to try the alternative nlinum-mode, it performs better in
> this scenario.

So is there anything more to do here, or should we just accept these
limitations in linum-mode?

Best regards,
Stefan Kangas