From: "Johan Bockgård" <bojohan@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 6744@debbugs.gnu.org
Subject: bug#6744: 24.0.50; [PATCH] local-variable-p: Handle variable aliases correctly
Date: Wed, 28 Jul 2010 05:20:45 +0200 [thread overview]
Message-ID: <87eieoxpf6.fsf@gnu.org> (raw)
In-Reply-To: <AANLkTikh=76ERauG6s4AinUvchTRLdQT_15JmduPOrEg@mail.gmail.com> (Juanma Barranquero's message of "Wed, 28 Jul 2010 02:57:14 +0200")
Juanma Barranquero <lekktu@gmail.com> writes:
> On Wed, Jul 28, 2010 at 02:15, Johan Bockg=e5rd <bojohan@gnu.org> wrote:
>
>> (defvar foo nil)
>> (defvaralias 'bar 'foo)
>> (make-local-variable 'bar)
>> (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) => nil.
It is? I thought this problem only existed in the trunk, and I can't
reproduce it in the emacs-23 branch.
next prev parent reply other threads:[~2010-07-28 3:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-28 0:15 bug#6744: 24.0.50; [PATCH] local-variable-p: Handle variable aliases correctly Johan Bockg=e5rd
2010-07-28 0:57 ` Juanma Barranquero
2010-07-28 3:20 ` Johan Bockgård [this message]
2010-07-28 3:33 ` Juanma Barranquero
2010-08-01 18:35 ` Juanma Barranquero
2010-08-03 17:13 ` Johan Bockgård
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eieoxpf6.fsf@gnu.org \
--to=bojohan@gnu.org \
--cc=6744@debbugs.gnu.org \
--cc=lekktu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).