From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johan =?UTF-8?Q?Bockg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#6744: 24.0.50; [PATCH] local-variable-p: Handle variable aliases correctly Date: Wed, 28 Jul 2010 05:20:45 +0200 Message-ID: <87eieoxpf6.fsf@gnu.org> References: <87ocdsxxzv.fsf@gnu.org> 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 1280288275 10554 80.91.229.12 (28 Jul 2010 03:37:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Jul 2010 03:37:55 +0000 (UTC) Cc: 6744@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 28 05:37: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 1OdxSp-00012Y-7b for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Jul 2010 05:37:51 +0200 Original-Received: from localhost ([127.0.0.1]:37991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdxSo-00007z-AT for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jul 2010 23:37:50 -0400 Original-Received: from [140.186.70.92] (port=44817 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdxSg-00007i-6F for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 23:37:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdxSe-0005ot-Si for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 23:37:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51559) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdxSe-0005op-Q7 for bug-gnu-emacs@gnu.org; Tue, 27 Jul 2010 23:37:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OdxCX-0003UF-VQ; Tue, 27 Jul 2010 23:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Johan =?UTF-8?Q?Bockg=C3=A5rd?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Jul 2010 03:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6744 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 6744-submit@debbugs.gnu.org id=B6744.128028724013397 (code B ref 6744); Wed, 28 Jul 2010 03:21:01 +0000 Original-Received: (at 6744) by debbugs.gnu.org; 28 Jul 2010 03:20:40 +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 1OdxCC-0003U2-76 for submit@debbugs.gnu.org; Tue, 27 Jul 2010 23:20:40 -0400 Original-Received: from smtprelay-b12.telenor.se ([62.127.194.21]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdxC9-0003Tx-PG for 6744@debbugs.gnu.org; Tue, 27 Jul 2010 23:20:39 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 6FBB3E9397 for <6744@debbugs.gnu.org>; Wed, 28 Jul 2010 05:20:46 +0200 (CEST) X-SENDER-IP: [85.228.196.148] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlU+AII+T0xV5MSUPGdsb2JhbACDFIRSmAMMAQEBATUtsA+RY4Emgx1zBA X-IronPort-AV: E=Sophos;i="4.55,271,1278280800"; d="scan'208";a="111558910" Original-Received: from c-94c4e455.04-211-6c6b701.cust.bredbandsbolaget.se (HELO muon.localdomain) ([85.228.196.148]) by ipb1.telenor.se with ESMTP; 28 Jul 2010 05:20:46 +0200 Original-Received: by muon.localdomain (Postfix, from userid 1000) id 45B994843CA; Wed, 28 Jul 2010 05:20:45 +0200 (CEST) In-Reply-To: (Juanma Barranquero's message of "Wed, 28 Jul 2010 02:57:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 27 Jul 2010 23:21:01 -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:39021 Archived-At: Juanma Barranquero writes: > On Wed, Jul 28, 2010 at 02:15, Johan Bockg=3De5rd wrote: > >> =C2=A0 =C2=A0(defvar foo nil) >> =C2=A0 =C2=A0(defvaralias 'bar 'foo) >> =C2=A0 =C2=A0(make-local-variable 'bar) >> =C2=A0 =C2=A0(local-variable-p 'bar) >> >> returns nil or may crash if checking is enabled. (trunk) > > On the trunk, setting the forms inside a progn and evaluating it at > once with C-x C-e, I get nil on first try, and a crash on second try. > > On emacs-23 there's no crash, but (local-variable-p 'bar) =3D> nil. It is? I thought this problem only existed in the trunk, and I can't reproduce it in the emacs-23 branch.