From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wojciech Meyer Newsgroups: gmane.emacs.devel Subject: Re: e and pi Date: Fri, 17 Sep 2010 01:14:19 +0100 Message-ID: <87aanh1b1g.fsf@gmail.com> References: <8739t9xpt2.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284682480 29887 80.91.229.12 (17 Sep 2010 00:14:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2010 00:14:40 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 17 02:14:38 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 1OwOb7-00028f-F4 for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 02:14:38 +0200 Original-Received: from localhost ([127.0.0.1]:46969 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwOb6-0007f1-7f for ged-emacs-devel@m.gmane.org; Thu, 16 Sep 2010 20:14:36 -0400 Original-Received: from [140.186.70.92] (port=36562 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwOb0-0007bA-R7 for emacs-devel@gnu.org; Thu, 16 Sep 2010 20:14:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwOau-0004lp-9r for emacs-devel@gnu.org; Thu, 16 Sep 2010 20:14:25 -0400 Original-Received: from mail-ww0-f41.google.com ([74.125.82.41]:38500) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwOau-0004lj-4P for emacs-devel@gnu.org; Thu, 16 Sep 2010 20:14:24 -0400 Original-Received: by wwb39 with SMTP id 39so227762wwb.0 for ; Thu, 16 Sep 2010 17:14:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=QtQIIyMgItRNAKekVz0NidH7W7zCvFAB504nEnx9wb0=; b=iJBS63N6BlOC/ukUqv5maYk9rugGDCNMuQr/RsX/bsH9f8u58jhagXCi96y/iPA8H8 YaE9mY6dKuMch0h0Be+3yDZ1wYKUL2Zbz4niU9FAiloiQClj/OgSuF8Y7FkDNqn/fbzL L8zOsaiGCJq4kkgYaGoVjpkDvmNNACRRHjvk4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=MRUsw7xAXnBhHBZRz/7/ZM2KISwZFwCAWkvENRvDqQOLKHTwXGCWa+1eHg7hcJu/yY C0VXeesebJnCrOZ5wYoH4GuguekUpL+KxJjwNHmfGTQSPi+hl4YgypEz6HHl6Sr/xQhP PKnjkeCsnealA7P3yee3LW5XFJNQXpalrGBEE= Original-Received: by 10.216.7.78 with SMTP id 56mr57143weo.96.1284682463026; Thu, 16 Sep 2010 17:14:23 -0700 (PDT) Original-Received: from spec-desktop.specuu.com (host86-133-35-46.range86-133.btcentralplus.com [86.133.35.46]) by mx.google.com with ESMTPS id w14sm2248265weq.9.2010.09.16.17.14.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 16 Sep 2010 17:14:22 -0700 (PDT) In-Reply-To: <8739t9xpt2.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 16 Sep 2010 18:54:17 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:130281 Archived-At: Hi Yidong, Chong Yidong writes: > Stefan Monnier writes: > > 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. I like the idea of `float-' prefix, at least it tells the type plus it might tell the module name too (mentioned `prefix convention'), any language that provides these constants hides it, most likely it lands in `Math' or `Float' module, so why Elisp should be different? Short names should be really reserved in the local scope. I agree that `float-pi' is less expressive than `pi' but if we got a construct (someday) for opening module it will immediately become visible as `pi'. (we could have local aliases too, in the scope of file, or toplevel expressions inside module declarations etc., list of exposed functions...). Wojciech