From: Paul Pogonyshev <pogonyshev@gmail.com>
To: 21377@debbugs.gnu.org
Subject: bug#21377: M-x disassemble fails on non-byte compiled functions with lexical bindings
Date: Sat, 29 Aug 2015 21:41:29 +0200 [thread overview]
Message-ID: <CAG7Bpap7oYJ4tX4Tq5oYM38mq-xgmqJ=Mnn7Es1bc1rktKaH7g@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 433 bytes --]
Disassembling works on byte-compiled functions and functions evaluated in
buffers without lexical bindings. If you try to disassemble a function
evaluated with lexical bindings, it fails with error "disassemble-internal:
not a function".
To reproduce:
* M-x disassemble RET gv-get RET --> works (assuming it is loaded from
'gv.elc')
* Go to gv-get definition and eval it explicitly
* M-x disassemble RET gv-get RET --> fails
Paul
[-- Attachment #2: Type: text/html, Size: 559 bytes --]
next reply other threads:[~2015-08-29 19:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-29 19:41 Paul Pogonyshev [this message]
2015-09-03 19:15 ` bug#21377: M-x disassemble fails on non-byte compiled functions with lexical bindings Stefan Monnier
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='CAG7Bpap7oYJ4tX4Tq5oYM38mq-xgmqJ=Mnn7Es1bc1rktKaH7g@mail.gmail.com' \
--to=pogonyshev@gmail.com \
--cc=21377@debbugs.gnu.org \
/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.