From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: MON KEY Newsgroups: gmane.emacs.bugs Subject: bug#6497: 6497 Date: Sat, 3 Jul 2010 15:33:58 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278187194 13545 80.91.229.12 (3 Jul 2010 19:59:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Jul 2010 19:59:54 +0000 (UTC) Cc: 6497@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 03 21:59:51 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OV8sQ-00038s-2v for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Jul 2010 21:59:50 +0200 Original-Received: from localhost ([127.0.0.1]:50694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OV8sP-0002ad-Au for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Jul 2010 15:59:49 -0400 Original-Received: from [140.186.70.92] (port=55341 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OV8sG-0002aH-Hq for bug-gnu-emacs@gnu.org; Sat, 03 Jul 2010 15:59:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OV8sE-0003lp-Sc for bug-gnu-emacs@gnu.org; Sat, 03 Jul 2010 15:59:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33823) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OV8sE-0003ll-R9 for bug-gnu-emacs@gnu.org; Sat, 03 Jul 2010 15:59:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OV8UQ-0001Vf-ML; Sat, 03 Jul 2010 15:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: MON KEY Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Jul 2010 19:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6497 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6497-submit@debbugs.gnu.org id=B6497.12781856455792 (code B ref 6497); Sat, 03 Jul 2010 19:35:02 +0000 Original-Received: (at 6497) by debbugs.gnu.org; 3 Jul 2010 19:34:05 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OV8TV-0001VN-2b for submit@debbugs.gnu.org; Sat, 03 Jul 2010 15:34:05 -0400 Original-Received: from mail-gx0-f172.google.com ([209.85.161.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OV8TT-0001V1-Al for 6497@debbugs.gnu.org; Sat, 03 Jul 2010 15:34:03 -0400 Original-Received: by gxk3 with SMTP id 3so303163gxk.3 for <6497@debbugs.gnu.org>; Sat, 03 Jul 2010 12:33:58 -0700 (PDT) Original-Received: by 10.90.65.9 with SMTP id n9mr1164340aga.74.1278185638676; Sat, 03 Jul 2010 12:33:58 -0700 (PDT) Original-Received: by 10.151.46.4 with HTTP; Sat, 3 Jul 2010 12:33:58 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: Zedv-IyvcTp_37OT-VPTksXceh4 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 03 Jul 2010 15:35:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38214 Archived-At: On Sat, Jul 3, 2010 at 3:00 AM, Andreas Schwab wrot= e: > MON KEY writes: > >> Except it doesn't, as indicated by following pathology: >> >> =C2=A0(setq foo (unintern (makunbound 'foo))) >> =C2=A0(indirect-variable foo) >> >> `foo' should evaluate to t per return value of `unintern'. > > The foos in the two lines are completely unrelated. > Yep. The "first" foo is made unbound. The "first" foo is uninterned which returns `t'. The "second" foo is bound to the return value of uninterning the "first" foo e.g. `t'. That was not the point of the illustration. This was: The evaluation of the indirect-variable for the "second" foo should return = `t'. In the following, we change the "first" foo to a `tbar' there is no "second" foo and we `set' tbar instead of `setq'ing foo and this form does return `t': (unwind-protect (progn (unintern 'foo) (unintern 'tbar)) (let ((tbar (make-symbol "foo") )) (set 'tbar (unintern (makunbound 'foo))) (indirect-variable tbar))) ; =3D> t > Andreas. -- /s_P\