From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Performance 21.3.50 W2K Date: Fri, 01 Nov 2002 22:32:18 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: References: <20021101065157.9322150A054@server5.fastmail.fm> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1036209076 20615 80.91.224.249 (2 Nov 2002 03:51:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 2 Nov 2002 03:51:16 +0000 (UTC) Cc: eliz@is.elta.co.il, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 187pJb-0005MM-00 for ; Sat, 02 Nov 2002 04:51:15 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 187pPy-0001yn-00 for ; Sat, 02 Nov 2002 04:57:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 187p2Z-0001G5-00; Fri, 01 Nov 2002 22:33:39 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 187p1K-0000vd-00 for emacs-devel@gnu.org; Fri, 01 Nov 2002 22:32:22 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 187p1H-0000ub-00 for emacs-devel@gnu.org; Fri, 01 Nov 2002 22:32:20 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 187p1H-0000uS-00 for emacs-devel@gnu.org; Fri, 01 Nov 2002 22:32:19 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 187p1G-0004Vp-00; Fri, 01 Nov 2002 22:32:18 -0500 Original-To: seagull@fastmail.fm In-reply-to: <20021101065157.9322150A054@server5.fastmail.fm> (seagull@fastmail.fm) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9060 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9060 1. If the file size is greater than a given size (user customizable) and if it has non-ascii chars, we should prompt whether to use 'find-file-literally instead of 'find-file. This might be a good idea for very large files. We could add a variable to specify the threshold for this, release Emacs with that threshold set as very large, then ask users to try smaller values and say if they prefer those. 1. Come up with buffered reading for large files. Read a portion of the file, display it and repeat this till the file is completely read. This would be a good feature, but doing it in a general way would be very difficult. The simplest variant of this idea would be to call redisplay in the middle of inserting the file contents. Emacs would not be able to execute any commands until it finishes reading the file, but you could at least see the beginning of the file. That might not be too hard. Of course, it would only help to a limited extent.