From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#8794: (b) make the 64bit-on-32bit the default (if supported) Date: Mon, 06 Jun 2011 21:21:07 -0700 Organization: UCLA Computer Science Department Message-ID: <4DEDA733.4040008@cs.ucla.edu> References: <4DE89EB8.9020202@cs.ucla.edu> <4DE93610.4040209@cs.ucla.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1307420572 17439 80.91.229.12 (7 Jun 2011 04:22:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2011 04:22:52 +0000 (UTC) Cc: 8794@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 07 06:22:48 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QTnoV-00066f-Jq for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Jun 2011 06:22:47 +0200 Original-Received: from localhost ([::1]:53610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTnoU-0000ZE-Cw for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Jun 2011 00:22:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTnnp-0000VE-Lk for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2011 00:22:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTnnn-0008OX-Vz for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2011 00:22:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTnnn-0008OS-KI for bug-gnu-emacs@gnu.org; Tue, 07 Jun 2011 00:22:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QTnnn-0002IU-03; Tue, 07 Jun 2011 00:22:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jun 2011 04:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8794 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8794-submit@debbugs.gnu.org id=B8794.13074204848779 (code B ref 8794); Tue, 07 Jun 2011 04:22:02 +0000 Original-Received: (at 8794) by debbugs.gnu.org; 7 Jun 2011 04:21:24 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QTnn9-0002HX-PH for submit@debbugs.gnu.org; Tue, 07 Jun 2011 00:21:24 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QTnn6-0002HK-Rk for 8794@debbugs.gnu.org; Tue, 07 Jun 2011 00:21:22 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 6235B39E80F7; Mon, 6 Jun 2011 21:21:14 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GKAPUkoMunt0; Mon, 6 Jun 2011 21:21:13 -0700 (PDT) Original-Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 391A339E80F0; Mon, 6 Jun 2011 21:21:13 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 07 Jun 2011 00:22:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47018 Archived-At: On 06/06/11 07:52, Stefan Monnier wrote: > We should make a --with-wide-int option for ./configure, tho. I did that in the trunk as bzr 104521, with this patch: [ChangeLog] * configure.in: Add --with-wide-int. * INSTALL: Mention this. [etc/ChangeLog] * NEWS: Mention new configure option --with-wide-int. === modified file 'INSTALL' --- INSTALL 2011-05-18 03:39:45 +0000 +++ INSTALL 2011-06-07 04:13:43 +0000 @@ -309,6 +309,10 @@ Use --without-sound to disable sound support. +Use --with-wide-int to implement Emacs values with the type 'long long', +even on hosts where a narrower type would do. With this option, on a +typical 32-bit host, Emacs integers have 62 bits instead of 30. + The `--prefix=PREFIXDIR' option specifies where the installation process should put emacs and its data files. This defaults to `/usr/local'. - Emacs (and the other utilities users run) go in PREFIXDIR/bin === modified file 'configure.in' --- configure.in 2011-05-28 22:39:39 +0000 +++ configure.in 2011-06-07 04:13:43 +0000 @@ -144,6 +144,11 @@ with_x_toolkit=$val ]) +OPTION_DEFAULT_OFF([wide-int], [prefer wide Emacs integers (typically 62-bit)]) +if test "$with_wide_int" = yes; then + AC_DEFINE([WIDE_EMACS_INT], 1, [Use long long for EMACS_INT if available.]) +fi + dnl _ON results in a '--without' option in the --help output, so dnl the help text should refer to "don't compile", etc. OPTION_DEFAULT_ON([xpm],[don't compile with XPM image support]) === modified file 'etc/NEWS' --- etc/NEWS 2011-06-06 19:43:39 +0000 +++ etc/NEWS 2011-06-07 04:13:43 +0000 @@ -47,6 +47,9 @@ This is only useful for Emacs developers to debug certain types of bugs. This is not a new feature; only the configure flag is new. +** There is a new configure option --with-wide-int. +With it, Emacs integers typically have 62 bits, even on 32-bit machines. + --- ** New translation of the Emacs Tutorial in Hebrew is available. Type `C-u C-h t' to choose it in case your language setup doesn't