From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Fix (letrec ((ignore))) Date: Mon, 14 Dec 2015 10:23:38 -0800 Message-ID: References: <20151211161116.GA8923@apertron.net> <20151213121315.GA2680@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1450117821 6498 80.91.229.3 (14 Dec 2015 18:30:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Dec 2015 18:30:21 +0000 (UTC) Cc: Artur Malabarba , Zack Piper , Emacs developers , =?utf-8?Q?Aur=C3=A9lien?= Aptel , Kaushal Modi To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 14 19:30:09 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a8Xsu-0005fM-CV for ged-emacs-devel@m.gmane.org; Mon, 14 Dec 2015 19:30:08 +0100 Original-Received: from localhost ([::1]:33243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Xst-00055h-Hx for ged-emacs-devel@m.gmane.org; Mon, 14 Dec 2015 13:30:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8XsR-000557-BJ for emacs-devel@gnu.org; Mon, 14 Dec 2015 13:29:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8XsP-0002Xe-3g for emacs-devel@gnu.org; Mon, 14 Dec 2015 13:29:39 -0500 Original-Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]:33466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8XsO-0002XZ-Uo for emacs-devel@gnu.org; Mon, 14 Dec 2015 13:29:37 -0500 Original-Received: by pabur14 with SMTP id ur14so108129492pab.0 for ; Mon, 14 Dec 2015 10:29:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version:content-type; bh=YosWkFnWFW22cWX1RWnhc1OVgFkL2Y/dE3TFu74UlEk=; b=TbhffeZCcnwh4pyxlXcPFlQOF0cDfY7As70++ESgDwqLx0nn3KoDyOoUghkwWQobjH hyjVLbdrbLijvkb/BtH5MKtaVRi9QQNODzwhwPsY+p0dT6hpWLzq/cos7+6/qn0rGnTC 7r69tHLMoI6/4y8qRolaYMCrv7FcuBaL4YYikzzSOYiwNYBATy7onvboeq3L/lnSFnuD vUr+MtHL/bAt9UIkmEdYyIHHht9WH+LufvzaCaWqQvAhTsWdnElvc1IPHLehiGWnh+9y q9trl/wOiOzuDW6vcL2UbGN/Jsw5/go9ocuSozOVS/Sz7hk2hqewPc7j+sfLE2gdSMZM bTRQ== X-Received: by 10.66.65.203 with SMTP id z11mr48125699pas.152.1450117776420; Mon, 14 Dec 2015 10:29:36 -0800 (PST) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id r26sm43933605pfa.45.2015.12.14.10.29.34 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 14 Dec 2015 10:29:34 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 08EFB11488A97; Mon, 14 Dec 2015 10:29:34 -0800 (PST) In-Reply-To: <20151213121315.GA2680@acm.fritz.box> (Alan Mackenzie's message of "Sun, 13 Dec 2015 12:13:15 +0000") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) Mail-Followup-To: Alan Mackenzie , Kaushal Modi , Zack Piper , Artur Malabarba , =?utf-8?Q?Aur=C3=A9lien?= Aptel , Emacs developers X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196258 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable >>>>> Alan Mackenzie writes: > Just as a matter of interest, > (let ((foo) ... ) ...) > is accepted by the interpreter and byte compiler, binding foo to nil. In the spirit of our recent clarifications, I think it should also be made = an error, rather than an implicit binding to nil. I have a feeling there are still many more places where this behavior exist= s, and we are just beginning to scratch the surface. For example: (dolist ((i)) (message "Hello")) Is also accepted as a "do nothing" block, when it should give an error abou= t a missing value. =2D-=20 John Wiegley GPG fingerprint =3D 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGcBAEBCgAGBQJWbwkqAAoJEMFE2PTxn+Ywm0cMALIq+mLYn45ZZjfUHPZcYPKl 2WU+z27wPbAqKMFLM1PBwOF0cK4BjNvboyQnSjgGpWrLF1DqBLD3TBROc+xbLjRg ufVAvWNjlceJ5YL+2DvpRlYIgzXBbPijM5XSVgu3YuSRF3h35hTfAZHBKkTEiQkw w43YjEghru0fztznHveF5oo6MoR5+XLJE/UPfgWu9uTwNJr2tCjh6axjz1TA3YPH XQWsx4KSVmDVYv4ZW6eNYStHYqsA9FA7tOtmX5UFayFMLamCCPCX9/CxYWSPQx8a qljmCX4C7pJL8QZuXZiNJhLwNZwGfNjLYZSaRqInNT8LKKUrZjdXkQ2Dx7U+wbVU 4swYPp/BwZgn4S2BG4FxCd/W1AZoXcbCC2zEMk/JsfbtTnOt7qEu7Uzd2NcHlmHI 6WJEwptMZxXaC2Q8tPBXgBg84iVzqaRYS37u1dPlkt3M14GioVMM+K3QCNCRLuwK D2pOT0w1vMtm3a3r3E1IsjJNw5/c9Cz+edXood58cA== =P+O9 -----END PGP SIGNATURE----- --=-=-=--