GNU bug report logs - #44818
Say "Consider switching so-long mode on" when detecting long line files

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Devon Sean McCullough <Devon2020 <at> jovi.net>, 44818 <at> debbugs.gnu.org
Subject: bug#44818: 27.0.91; wedged
Date: Tue, 24 Nov 2020 08:04:16 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> When you visit such a long file in Emacs 27.1, you should see a
> suggestion to visit it literally; take it.
>
> A more general solution is to turn on so-long mode.

This is such a general problem that people bump into all the time that I
think Emacs should have an even more general solution, and it should be
on by default.

The long-file warning isn't sufficient -- there's plenty of smaller
files that have this problem, too.

Why doesn't Emacs just check for long lines (in the C code, for speed)
when opening files, and offer the "visit literally?" if it detects them?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.