all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs22 large file y-or-n-p
@ 2006-06-13 23:19 Brendan Halpin
  2006-06-14  0:15 ` Pascal Bourguignon
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Brendan Halpin @ 2006-06-13 23:19 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-06-14 16:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-13 23:19 Emacs22 large file y-or-n-p Brendan Halpin
2006-06-14  0:15 ` Pascal Bourguignon
2006-06-14  8:20   ` Tim X
2006-06-14  8:34   ` Brendan Halpin
2006-06-14 15:58     ` Kevin Rodgers
     [not found]     ` <mailman.2887.1150300794.9609.help-gnu-emacs@gnu.org>
2006-06-14 16:08       ` Brendan Halpin
2006-06-14  8:16 ` Reiner Steib
2006-06-14  9:03 ` Stein Arild Strømme
2006-06-14  9:20   ` Brendan Halpin
2006-06-14  9:50 ` Mathias Dahl
2006-06-14 10:04   ` Brendan Halpin
2006-06-14 10:37     ` Giorgos Keramidas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.