GNU bug report logs -
#44818
Say "Consider switching so-long mode on" when detecting long line files
Previous Next
Reported by: Devon Sean McCullough <Devon2020 <at> jovi.net>
Date: Mon, 23 Nov 2020 12:40:02 UTC
Severity: minor
Merged with 44809
Found in version 27.0.91
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #69 received at 44818 <at> debbugs.gnu.org (full text, mbox):
> From: Richard Stallman <rms <at> gnu.org>
> Cc: Emacs-hacker2018 <at> jovi.net, 44818 <at> debbugs.gnu.org
> Date: Thu, 03 Dec 2020 00:29:04 -0500
>
> > > I wonder if it is possible to detect that a single line has taken too
> > > long, and set a flag to truncate long lines in that buffer.
> > > Perhaps set truncate-lines.
>
> > That could be too drastic: Emacs becomes painfully slow long after the
> > number of characters exceeds 80 or 130 or 250 or any other reasonable
> > line width. So setting truncate-lines would hide too much from the
> > view.
>
> Sorry, I am don't follow you. What exactly is the problem? What action
> do you recommend, or discourage?
You suggested to behave as if truncate-lines is turned on when we
discover a line whose rendering takes too long. I'm saying that doing
so will prevent users from seeing more than a hundred or so characters
of every line, and hide the rest. And that might be too drastic a
measure, because Emacs becomes slow on lines much longer than 100 or
200 characters; a single very long line will only make it slow for
that single window-full. IOW, the punishment is too severe, IMO.
This bug report was last modified 2 years and 301 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.