From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Why are there two dolist? Date: Wed, 12 Aug 2009 10:45:52 +0200 Organization: Organization?!? Message-ID: <87ocqlifnj.fsf@lola.goethe.zz> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250066794 8648 80.91.229.12 (12 Aug 2009 08:46:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 08:46:34 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 12 10:46:27 2009 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 1Mb9TW-0004oL-LZ for ged-emacs-devel@m.gmane.org; Wed, 12 Aug 2009 10:46:26 +0200 Original-Received: from localhost ([127.0.0.1]:46961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mb9TU-0007OI-NB for ged-emacs-devel@m.gmane.org; Wed, 12 Aug 2009 04:46:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mb9TL-0007M0-QE for emacs-devel@gnu.org; Wed, 12 Aug 2009 04:46:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mb9TH-0007KN-7I for emacs-devel@gnu.org; Wed, 12 Aug 2009 04:46:15 -0400 Original-Received: from [199.232.76.173] (port=60172 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mb9TH-0007KG-0R for emacs-devel@gnu.org; Wed, 12 Aug 2009 04:46:11 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:35713 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mb9TG-0002k0-Iq for emacs-devel@gnu.org; Wed, 12 Aug 2009 04:46:10 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Mb9T8-0000fk-UD for emacs-devel@gnu.org; Wed, 12 Aug 2009 08:46:02 +0000 Original-Received: from p5b2c22bd.dip.t-dialin.net ([91.44.34.189]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Aug 2009 08:46:02 +0000 Original-Received: from dak by p5b2c22bd.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Aug 2009 08:46:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p5b2c22bd.dip.t-dialin.net X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:wxbwi8cRR1JxOnPVXJzy17LAC9o= X-detected-operating-system: by monty-python.gnu.org: GNU/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:114129 Archived-At: Lennart Borgman writes: > On Wed, Aug 12, 2009 at 12:14 AM, Lennart > Borgman wrote: >> And shouldn't they say that you do not have to intern/declare VAR? > > - There is one definition in subr.el and one in cl-macro.el. (I think > I said this before.) > > - And I meant it should say that the variable is let bound inside > dolist, ie there is a (let ((VAR ...) inside the defmacro dolist. That > is not clear to from the doc string. The word "bound" there could > equally well mean that (setq VAR ...) was used. No. Binding and setting a variable are fundamentally different things and not interchangeable. While there is a small bit of overlap in current Emacs (because of its dynamic binding implementation), with regard to language idioms the concepts are clearly separate, and with a lexically binding Lisp variant (which we might get some day) the semantics are even more separated. -- David Kastrup