emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default large-file-warning-threshold


From: Lars Magne Ingebrigtsen
Subject: Re: default large-file-warning-threshold
Date: Mon, 01 Dec 2014 19:19:24 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Paul Eggert <address@hidden> writes:

> I'm not the only one to run into this problem; see the thread
> "Intelligently opening large files in emacs"
> <http://lists.gnu.org/archive/html/help-gnu-emacs/2014-03/msg00341.html>
> in this mailing list earlier this year.  There, the proposed solution
> was to use find-file-literally for files larger than a certain size.
> Perhaps Emacs should do this by default -- it'd be a nicer user
> experience in many ways than what we have now, and it should be easy
> to implement.

The use case for opening huge files is log files and the like, and you
usually want to see those as "raw" as possible, I think.

What about a new, trivial mode for these buffers?  We open huge files
with `find-file-literally', display a message like "Press `M-something'
to put buffer into mode foo", and change to that new, trivial mode
(which would just have that one keybinding).

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]