unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 25654@debbugs.gnu.org, Abdul-Lateef Haji-Ali <hajiali@maths.ox.ac.uk>
Subject: bug#25654: 24.5; linum and hide-show
Date: Tue, 11 Aug 2020 00:56:45 -0700	[thread overview]
Message-ID: <CADwFkm=E8QAn0eoOBD9xM5rA-Pw+5B1b_Kk=psNK4xAuCxDwzg@mail.gmail.com> (raw)
In-Reply-To: <83vask4jng.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 08 Feb 2017 20:33:39 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Abdul-Lateef Haji-Ali <hajiali@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





  reply	other threads:[~2020-08-11  7:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-08 17:36 bug#25654: 24.5; linum and hide-show Abdul-Lateef Haji-Ali
2017-02-08 18:33 ` Eli Zaretskii
2020-08-11  7:56   ` Stefan Kangas [this message]
2020-08-11 14:45     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkm=E8QAn0eoOBD9xM5rA-Pw+5B1b_Kk=psNK4xAuCxDwzg@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=25654@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=hajiali@maths.ox.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).