From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: CL function's docstrings Date: Wed, 18 May 2005 18:45:34 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1116456729 25170 80.91.229.2 (18 May 2005 22:52:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 May 2005 22:52:09 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 19 00:52:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DYXN0-0003tW-4e for ged-emacs-devel@m.gmane.org; Thu, 19 May 2005 00:50:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYXPV-0003YC-P0 for ged-emacs-devel@m.gmane.org; Wed, 18 May 2005 18:53:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DYXLE-0001Vd-VG for emacs-devel@gnu.org; Wed, 18 May 2005 18:48:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DYXL8-0001SZ-EP for emacs-devel@gnu.org; Wed, 18 May 2005 18:48:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYXL5-0001Qx-7v for emacs-devel@gnu.org; Wed, 18 May 2005 18:48:33 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DYXQr-0003uY-3E for emacs-devel@gnu.org; Wed, 18 May 2005 18:54:29 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DYXIE-0006Ih-3R; Wed, 18 May 2005 18:45:34 -0400 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Tue, 17 May 2005 17:15:59 -0400) 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:37304 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37304 Thanks to the wonders of dynamic scoping this actually changes the semantics subtly. In most cases you'll never be able to tell the difference, but when higer-order functions are involved it can be a problem; so if you do that, be careful. We never told users it was ok to use these as free variables, so we don't have to worry about that issue. However, when changing the arg names of a function in CL that calls other functions in CL, it would be good to verify that the called functions don't use them as free variables. (It would be unclean to use them that way without defvar'ing them.)