From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: e and pi Date: Sat, 18 Sep 2010 16:53:00 +0200 Message-ID: References: <8739t9xpt2.fsf@stupidchicken.com> <874odoweqm.fsf@stupidchicken.com> <8762y3onz7.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1284821609 12177 80.91.229.12 (18 Sep 2010 14:53:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2010 14:53:29 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 18 16:53:27 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 1Owyn6-0002r2-Jp for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2010 16:53:24 +0200 Original-Received: from localhost ([127.0.0.1]:41856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owyn6-000627-59 for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2010 10:53:24 -0400 Original-Received: from [140.186.70.92] (port=32843 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owyn0-0005zP-0T for emacs-devel@gnu.org; Sat, 18 Sep 2010 10:53:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Owymp-0007zX-42 for emacs-devel@gnu.org; Sat, 18 Sep 2010 10:53:08 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:37031) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owymo-0007zO-VJ for emacs-devel@gnu.org; Sat, 18 Sep 2010 10:53:07 -0400 Original-Received: from ceviche.home (vpn-132-204-232-141.acd.umontreal.ca [132.204.232.141]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o8IEr19M025614; Sat, 18 Sep 2010 10:53:02 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id CA2E66623B; Sat, 18 Sep 2010 16:53:00 +0200 (CEST) In-Reply-To: (Juanma Barranquero's message of "Sat, 18 Sep 2010 15:43:39 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3625=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:130406 Archived-At: >> If function argument names are the problem, why not just give them >> static scope, overriding any existing dynamic bindings? =A0While it's >> idiomatic elisp to use `let' to bind dynamic variables, AFAICT no one >> uses function arguments to do the same. > I don't have the Emacs source at hand and won't for a couple days, but > I'm sure there are a few places where default args to functions are > used to bind dynamic variables to (default) nil. Indeed, there are a few places where Elisp code binds dynamic variables not with a let but with a function argument. I find this revolting, and would welcome a byte-compiler warning to "flog the author with a wet noodle". Stefan