From: Stefan Monnier <monnier@iro.umontreal.ca>
To: martin rudalics <rudalics@gmx.at>
Cc: 47516@debbugs.gnu.org
Subject: bug#47516: 28.0.50; void-variable edebug-all-defs
Date: Fri, 02 Apr 2021 11:31:53 -0400 [thread overview]
Message-ID: <jwvmtugzox6.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <a5349446-4c75-13d7-35b7-64857489c65f@gmx.at> (martin rudalics's message of "Fri, 2 Apr 2021 16:15:52 +0200")
>> Hmm... still can't reproduce it here. Can you reproduce it with `emacs -Q`?
>>
>> Also (stab in the dark), could you check (boundp 'edebug-all-defs) in
>> a few different buffers?
>
> Maybe I found it. For whatever reson I have
>
> (make-local-variable 'edebug-all-defs)
>
> in my emacs-lisp-mode-hook. Apparently, I needed it many years ago and
> it wasn't in the way till a couple of weeks or months ago.
Oh, so it ends up making the variable buffer-local before it gets
initialized, so it's both globally unbound and buffer-locally unbound.
Hence when the `defvar` is processed the global value gets initialized
but the buffer-local value stays unbound.
Do you happen to remember why you "needed it many years ago"?
I'm leaning towards considering this a "pilot error".
Stefan
next prev parent reply other threads:[~2021-04-02 15:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-31 8:10 bug#47516: 28.0.50; void-variable edebug-all-defs martin rudalics
2021-03-31 11:16 ` Philipp Stephani
2021-04-01 0:03 ` Michael Heerdegen
2021-04-02 3:19 ` Stefan Monnier
2021-04-02 6:49 ` martin rudalics
2021-04-02 13:17 ` Stefan Monnier
2021-04-02 14:15 ` martin rudalics
2021-04-02 15:31 ` Stefan Monnier [this message]
2021-04-02 18:24 ` martin rudalics
2021-05-08 12:14 ` Lars Ingebrigtsen
2021-05-08 23:31 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-05-09 8:41 ` martin rudalics
2021-05-09 9:47 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvmtugzox6.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=47516@debbugs.gnu.org \
--cc=rudalics@gmx.at \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.