From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Making --with-wide-int the default Date: Mon, 16 Nov 2015 22:32:10 -0800 Organization: UCLA Computer Science Department Message-ID: <564AC9EA.5060200@cs.ucla.edu> References: <83oag087gs.fsf@gnu.org> <83oafz70im.fsf@gnu.org> <5620AF43.4050401@cs.ucla.edu> <83k2qn6xfm.fsf@gnu.org> <5620B4FA.1000804@cs.ucla.edu> <83wptojs1r.fsf@gnu.org> <56444C66.8050506@gmx.at> <83r3jugx8g.fsf@gnu.org> <87io56nu0a.fsf@fencepost.gnu.org> <83lha1dl87.fsf@gnu.org> <871tbrmeu3.fsf@fencepost.gnu.org> <564A63FB.7040209@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1447741957 14256 80.91.229.3 (17 Nov 2015 06:32:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2015 06:32:37 +0000 (UTC) To: Random832 , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 17 07:32:29 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZyZoa-0008Mb-MD for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2015 07:32:28 +0100 Original-Received: from localhost ([::1]:55901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyZoZ-0001yC-U7 for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2015 01:32:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyZoO-0001xe-KB for emacs-devel@gnu.org; Tue, 17 Nov 2015 01:32:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyZoL-0005su-CU for emacs-devel@gnu.org; Tue, 17 Nov 2015 01:32:16 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:54766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyZoL-0005sp-6f for emacs-devel@gnu.org; Tue, 17 Nov 2015 01:32:13 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C8A38160192; Mon, 16 Nov 2015 22:32:11 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id bOBp0mJIwvss; Mon, 16 Nov 2015 22:32:11 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1C07F1601AA; Mon, 16 Nov 2015 22:32:11 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 82DL6vYFGSvN; Mon, 16 Nov 2015 22:32:11 -0800 (PST) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id EFA61160192; Mon, 16 Nov 2015 22:32:10 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194630 Archived-At: Random832 wrote: > Sure, it's nice to be_able_ to edit 2GB files, but how many > of those does the average user have lying around? Without --with-wide-int the limit is roughly 0.5 GB, not 2 GB. Whether this is a problem depends on what sorts of files one typically looks at. These days a goodly number of users do run into larger files. Certainly I do -- usually log or data files. Although I try to keep these files less than 0.5 GB, this can be a pain. And although I can switch to some other text editor to look at an 0.6 GB file, that's awkward, and gives users a bad impression about Emacs's robustness and ease of use. The GNU Coding Standards give advice about whether 32-bit Emacs should default to mishandling 0.6 GB files. They say, "Avoid arbitrary limits on the length or number of _any_ data structure" (emphasis in original). Emacs buffers are a data structure, and --with-wide-int removes a significant and arbitrary limit on their length, so the path forward is reasonably clear here.