From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: 4 minor suggestions for files.el Date: Tue, 15 Apr 2003 14:16:38 -0600 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3E9C68A6.3060706@yahoo.com> References: <200304142022.h3EKMHRu026814@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1050437828 27014 80.91.224.249 (15 Apr 2003 20:17:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2003 20:17:08 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 15 22:17:06 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195WrZ-00071O-00 for ; Tue, 15 Apr 2003 22:17:05 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 195WtZ-0004Wz-00 for ; Tue, 15 Apr 2003 22:19:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195Wrv-0002ey-04 for emacs-devel@quimby.gnus.org; Tue, 15 Apr 2003 16:17:27 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 195Wrb-0002NY-00 for emacs-devel@gnu.org; Tue, 15 Apr 2003 16:17:07 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 195WrM-0001bV-00 for emacs-devel@gnu.org; Tue, 15 Apr 2003 16:16:53 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195Wr5-00013y-00 for emacs-devel@gnu.org; Tue, 15 Apr 2003 16:16:35 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 195WqO-0006ud-00 for ; Tue, 15 Apr 2003 22:15:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 195WqN-0006uU-00 for ; Tue, 15 Apr 2003 22:15:51 +0200 Original-Lines: 22 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13248 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13248 Stefan Monnier wrote: > 2 - Prompt the user when trying to open a very large file. My Emacs crawls > to a near halt when I try to open a 16MB file, so if I ever try to > open such a file, I'd rather be warned. > > @@ -1163,6 +1166,9 @@ > :version "21.1" > :type 'boolean) > > +(defcustom large-file-warning-threshold 10000000 > + "Maximum size of file above which a confirmation is requested.") > + Why is the default 9.537 MB? How about something like (* 16 1024 1024) ; 16 MB -- Kevin Rodgers