From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: e and pi Date: Fri, 17 Sep 2010 18:18:25 +0200 Message-ID: References: <8739t9xpt2.fsf@stupidchicken.com> <874odoweqm.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 1284740462 28675 80.91.229.12 (17 Sep 2010 16:21:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2010 16:21:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 17 18:21:01 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 1OwdgE-00030f-Q8 for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 18:20:55 +0200 Original-Received: from localhost ([127.0.0.1]:59581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwdgD-0001rT-To for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 12:20:53 -0400 Original-Received: from [140.186.70.92] (port=56767 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owde9-0000Tt-Kq for emacs-devel@gnu.org; Fri, 17 Sep 2010 12:18:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Owde5-0001at-LJ for emacs-devel@gnu.org; Fri, 17 Sep 2010 12:18:45 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:34180) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owde5-0001aU-AG for emacs-devel@gnu.org; Fri, 17 Sep 2010 12:18:41 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Owddx-0001Kb-Ua for emacs-devel@gnu.org; Fri, 17 Sep 2010 18:18:33 +0200 Original-Received: from dial-181118.pool.broadband44.net ([212.46.181.118]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Sep 2010 18:18:33 +0200 Original-Received: from eller.helmut by dial-181118.pool.broadband44.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Sep 2010 18:18:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: dial-181118.pool.broadband44.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:fvjTc0XCeoiGP+u5gaNtowYBBUM= 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:130337 Archived-At: * Chong Yidong [2010-09-17 15:50] writes: > This doesn't sound right---it means that people will have to make sure > their function args do not coincide with any defvar, defined anywhere. > It won't just be "e" and "pi" causing problems. Someone might write > > (defun froob (argv) > (lambda (f) (cons f argv))) > > and have that fail, because "argv" is a defvar defined in startup.el. I once had a function with an argument called system-name. Suddenly Emacs started to complain that some files are locked by some other user. How many people now that system-name is a global variable and used by the file-locking code? The lesson is that Emacs should not pre-define global variables with names that are likely candidates for local variables. Helmut