GNU bug report logs - #25654
24.5; linum and hide-show

Previous Next

Package: emacs;

Reported by: Abdul-Lateef Haji-Ali <hajiali <at> maths.ox.ac.uk>

Date: Wed, 8 Feb 2017 18:09:01 UTC

Severity: minor

Found in version 24.5

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 25654 <at> debbugs.gnu.org, Abdul-Lateef Haji-Ali <hajiali <at> maths.ox.ac.uk>
Subject: bug#25654: 24.5; linum and hide-show
Date: Tue, 11 Aug 2020 00:56:45 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Abdul-Lateef Haji-Ali <hajiali <at> maths.ox.ac.uk>
>> 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




This bug report was last modified 4 years and 290 days ago.

Previous Next


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