help-gnu-emacs
[Top][All Lists]
Advanced

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

Emacs22 large file y-or-n-p


From: Brendan Halpin
Subject: Emacs22 large file y-or-n-p
Date: Wed, 14 Jun 2006 00:19:04 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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?


Brendan
-- 
Brendan Halpin,  Department of Sociology,  University of Limerick,  Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F2-025 x 3147
mailto:brendan.halpin@ul.ie  http://www.ul.ie/sociology/brendan.halpin.html


reply via email to

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