From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: e and pi Date: Thu, 16 Sep 2010 18:54:17 -0400 Message-ID: <8739t9xpt2.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284677669 13253 80.91.229.12 (16 Sep 2010 22:54:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 16 Sep 2010 22:54:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 17 00:54:26 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OwNLV-0007XG-9c for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 00:54:25 +0200 Original-Received: from localhost ([127.0.0.1]:39010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwNLU-0001AC-Sv for ged-emacs-devel@m.gmane.org; Thu, 16 Sep 2010 18:54:24 -0400 Original-Received: from [140.186.70.92] (port=42225 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwNLP-000185-Bo for emacs-devel@gnu.org; Thu, 16 Sep 2010 18:54:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwNLN-0003Tu-UQ for emacs-devel@gnu.org; Thu, 16 Sep 2010 18:54:19 -0400 Original-Received: from pantheon-po24.its.yale.edu ([130.132.50.118]:45313) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwNLN-0003Tq-Sd for emacs-devel@gnu.org; Thu, 16 Sep 2010 18:54:17 -0400 Original-Received: from furry (dhcp128036014154.central.yale.edu [128.36.14.154]) (authenticated bits=0) by pantheon-po24.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o8GMsHCZ016534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 16 Sep 2010 18:54:17 -0400 Original-Received: by furry (Postfix, from userid 1000) id 953F3C018; Thu, 16 Sep 2010 18:54:17 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Thu, 16 Sep 2010 15:25:57 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130277 Archived-At: Stefan Monnier writes: > So I intend to do the following: > - in Emacs-23.3, define `e', `float-e', `pi', and `float-pi' and declare > `e' and `pi' obsolete, but without a make-obsolete-variable > (i.e. only in NEWS and in docstrings). > - in Emacs-24 keep float-e and float-pi but get rid of `e' and `pi'. > > Can anyone think of a better solution? I don't like the idea of `float-e' and `float-pi'. What is the problem with dynamically scoping `e' and `pi'? If it's only the compiler warning, we can give the compiler a whitelist of variables not to complain about.