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: Warning: `mapcar' called for effect; use `mapc' or `dolist' Date: Tue, 23 Oct 2007 22:50:11 -0400 Message-ID: References: <200710200643.l9K6h9gk021348@oogie-boogie.ics.uci.edu> <200710222007.l9MK7fRZ022140@oogie-boogie.ics.uci.edu> <87ve8y4pab.fsf@catnip.gol.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1193194427 21699 80.91.229.12 (24 Oct 2007 02:53:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2007 02:53:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 24 04:53:48 2007 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.50) id 1IkWNL-00024B-Af for ged-emacs-devel@m.gmane.org; Wed, 24 Oct 2007 04:53:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkWND-00054U-7U for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 22:53:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IkWJy-0001X9-PR for emacs-devel@gnu.org; Tue, 23 Oct 2007 22:50:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IkWJx-0001WV-5B for emacs-devel@gnu.org; Tue, 23 Oct 2007 22:50:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkWJw-0001WP-UC for emacs-devel@gnu.org; Tue, 23 Oct 2007 22:50:12 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IkWJw-00066J-LY for emacs-devel@gnu.org; Tue, 23 Oct 2007 22:50:12 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IkWJv-0001Fc-PU; Tue, 23 Oct 2007 22:50:11 -0400 In-reply-to: (message from Miles Bader on Tue, 23 Oct 2007 20:28:47 +0900) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:81611 Archived-At: In Common-Lisp, I think you use (declare (special VAR ...)) to indicate a localized use of dynamic binding (as the first thing inside the let form where it is bound). Since Elisp already uses `declare' for some other things, it would seem reasonable to also use it to inform the byte compiler that an apparently local variable is known to be accessed non-locally. I would not mind adding this feature to Emacs Lisp. But I still think that part of Gnus should get a total rewrite using a different mechanism.