From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simon Leinen Newsgroups: gmane.emacs.devel Subject: Re: e and pi Date: Fri, 17 Sep 2010 10:09:16 +0200 Message-ID: References: <8739t9xpt2.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1284710972 21247 80.91.229.12 (17 Sep 2010 08:09:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2010 08:09:32 +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 10:09:30 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 1OwW0e-00013E-6E for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 10:09:28 +0200 Original-Received: from localhost ([127.0.0.1]:41089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwW0d-0000Lk-7S for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 04:09:27 -0400 Original-Received: from [140.186.70.92] (port=42837 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwW0V-0000LR-25 for emacs-devel@gnu.org; Fri, 17 Sep 2010 04:09:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwW0T-0003Pe-6H for emacs-devel@gnu.org; Fri, 17 Sep 2010 04:09:18 -0400 Original-Received: from mail-qw0-f41.google.com ([209.85.216.41]:64666) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwW0T-0003PR-4E for emacs-devel@gnu.org; Fri, 17 Sep 2010 04:09:17 -0400 Original-Received: by qwf7 with SMTP id 7so2423879qwf.0 for ; Fri, 17 Sep 2010 01:09:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=kGgnkiXsGT7gPdjiFfP8N3rF/O+fcyF6GnQttL0mX2E=; b=PS3rzywI2HLXmheDJC+hHXzpOu6F8FkKTAazVpyxnbvUozi3SYWq5U6wo83zRjm36g 30MZW5Y9kmmDE3BZOyczBmOkt21Yzst6AQqeZ4L/RtP61jlRFhaMzjIjHZTin0fHTBOS ViB0aR3yT7D5I8FH3WvZqFWpzj6eQL/9gfRH4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=G/JfF54XZU7YQz7ZwdA3kujE/3FDj+Zabb5wa9X9tLv3MK2tOBoNx4SK8oiV6R2ypo PWKazOOfpV/1MFZLLG4vfkdx8rvCId4QpdicwSMN2yRcl4NQ32FMJjZRt9RsPFyynx5d bJsdbL7oRZY+bOv1tXncL/rXAH9f4pkgwAii8= Original-Received: by 10.229.11.14 with SMTP id r14mr2871566qcr.228.1284710956111; Fri, 17 Sep 2010 01:09:16 -0700 (PDT) Original-Received: by 10.229.10.10 with HTTP; Fri, 17 Sep 2010 01:09:16 -0700 (PDT) In-Reply-To: <8739t9xpt2.fsf@stupidchicken.com> 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:130288 Archived-At: On Fri, Sep 17, 2010 at 00:54, Chong Yidong wrote: > What is the problem with dynamically scoping `e' and `pi'? Once programmers get used to lexical binding, they will reasonably assume that they can use variable names such as "e" in a LET or in a function/lambda parameter list without affecting outside code. Letting such likely-to-be-used names be dynamically scoped violates this assumption. Let's try to keep the number of these pitfalls as low as possible. Maybe we cannot expect to get rid of "t" and "nil", but making "e" and "pi" available for lexical binding is a worthy goal. -- Simon.