From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kelly Dean Newsgroups: gmane.emacs.devel Subject: Re: The purpose of makunbound Date: Sun, 22 Feb 2015 00:18:43 +0000 Message-ID: <32px7CwaF3cTQ2lDfA9zz9B2XE38wjpRnX2lASxPKyE@local> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1424564432 10057 80.91.229.3 (22 Feb 2015 00:20:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Feb 2015 00:20:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 22 01:20:21 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 1YPKHV-0007yO-BD for ged-emacs-devel@m.gmane.org; Sun, 22 Feb 2015 01:20:21 +0100 Original-Received: from localhost ([::1]:38062 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPKHU-0004MU-EB for ged-emacs-devel@m.gmane.org; Sat, 21 Feb 2015 19:20:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPKHP-0004LQ-Sn for emacs-devel@gnu.org; Sat, 21 Feb 2015 19:20:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPKHM-0000KB-Mh for emacs-devel@gnu.org; Sat, 21 Feb 2015 19:20:15 -0500 Original-Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:55012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPKHM-0000Hx-HH for emacs-devel@gnu.org; Sat, 21 Feb 2015 19:20:12 -0500 Original-Received: from mfilter24-d.gandi.net (mfilter24-d.gandi.net [217.70.178.152]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 26D40FB883; Sun, 22 Feb 2015 01:20:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter24-d.gandi.net Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by mfilter24-d.gandi.net (mfilter24-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id TupJDX446HaO; Sun, 22 Feb 2015 01:20:06 +0100 (CET) X-Originating-IP: 66.220.3.179 Original-Received: from localhost (gm179.geneticmail.com [66.220.3.179]) (Authenticated sender: kelly@prtime.org) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id B0929FB88B; Sun, 22 Feb 2015 01:20:05 +0100 (CET) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4b98:c:538::198 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:183374 Archived-At: Here's a verbatim (including the comments) quote from section 11.4 ((elis= p) Void Variables) of the manual in Emacs 24.4: (setq x 1) ; Put a value in the global binding. =3D> 1 (let ((x 2)) ; Locally bind it. (makunbound 'x) ; Void the local binding. x) error--> Symbol's value as variable is void: x x ; The global binding is unchanged. =3D> 1 Notice the =E2=80=9Fglobal binding is unchanged=E2=80=9D. That matches my= interpretation. Your interpretation would be =E2=80=9Fthe global binding= is changed back=E2=80=9D. And in the same section: (boundp 'abracadabra) ; Starts out void. =3D> nil (let ((abracadabra 5)) ; Locally bind it. (boundp 'abracadabra)) =3D> t (boundp 'abracadabra) ; Still globally void. =3D> nil (setq abracadabra 5) ; Make it globally nonvoid. =3D> 5 (boundp 'abracadabra) =3D> t Notice the =E2=80=9Fstill globally void=E2=80=9D. That matches my interpr= etation. Yours would be =E2=80=9Fglobally void again=E2=80=9D. I'm pointing this out just because you're saying my interpretation is wei= rd/unusual. It isn't.