[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs22 large file y-or-n-p
From: |
Pascal Bourguignon |
Subject: |
Re: Emacs22 large file y-or-n-p |
Date: |
Wed, 14 Jun 2006 02:15:17 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Brendan Halpin <brendan.halpin@ul.ie> writes:
> Emacs 22 has a check when visiting files for size, and a threshold
> above which it queries the user whether s/he really wants to load
> the file. Mostly this is a good idea, but I regularly want to load
> my ~/RMAIL which gets ridiculously large.
>
> Is there a lightweight way to avoid the check for RMAIL? I've
> looked at the code (for find-file-noselect) and that permits
> different size thresholds (and turning the check off altogether).
>
> Would defadvice around the rmail defun provide a handle? e.g.
> temporarily raise the threshold variable's value to 100MB and
> revert it afterwards?
Really Brendan! M-x apropos RET large.*file RET
--
__Pascal Bourguignon__ http://www.informatimago.com/
You never feed me.
Perhaps I'll sleep on your face.
That will sure show you.