[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
- Re: default large-file-warning-threshold, Paul Eggert, 2014/12/01
- Re: default large-file-warning-threshold, Eli Zaretskii, 2014/12/01
- Re: default large-file-warning-threshold, Paul Eggert, 2014/12/01
- Re: default large-file-warning-threshold,
Lars Magne Ingebrigtsen <=
- Re: default large-file-warning-threshold, Paul Eggert, 2014/12/01
- Re: default large-file-warning-threshold, Ted Zlatanov, 2014/12/01
- Re: default large-file-warning-threshold, Lars Magne Ingebrigtsen, 2014/12/01
- Re: default large-file-warning-threshold, Ted Zlatanov, 2014/12/01
- Re: default large-file-warning-threshold, Lars Magne Ingebrigtsen, 2014/12/02
- Re: default large-file-warning-threshold, Eli Zaretskii, 2014/12/01