GNU bug report logs - #56393
Actually fix the long lines display bug

Previous Next

Package: emacs;

Reported by: Gregory Heytings <gregory <at> heytings.org>

Date: Tue, 5 Jul 2022 08:50:02 UTC

Severity: normal

Done: Gregory Heytings <gregory <at> heytings.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: gregory <at> heytings.org, 56393 <at> debbugs.gnu.org
Subject: bug#56393: Turn on narrowing in redisplay_window
Date: Tue, 19 Jul 2022 15:43:48 +0300
> Cc: 56393 <at> debbugs.gnu.org
> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
> Date: Tue, 19 Jul 2022 13:26:31 +0200
> 
> Gregory Heytings <gregory <at> heytings.org> writes:
> 
> >>
> >> which is "the buffer got smaller"?
> >>
> >
> > You are correct.  It's too hot here too, apparently!  😉
> 
> Is finding newlines that expensive?  (I don't remember.)

It isn't, but if you have a very large buffer, finding _all_ the
newlines in it could take time.

> I mean, if someone turns that "mode" on, does he deserve to suffer a
> little bit while that is switched on?

We want to have this "mode" turned on by default.

> I think someone with such a long line deserves to suffer.

That's a bootstrap problem: when you first visit a file, you usually
don't know whether it will have long lines.  By the time you know,
it's many times too late.  Thus such a feature should ideally be
active by default, unless it sometimes causes serious problems.




This bug report was last modified 3 years and 33 days ago.

Previous Next


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