From: Alan Mackenzie <acm@muc.de>
To: emacs-devel@gnu.org
Subject: Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical.
Date: Tue, 3 Jan 2017 14:14:44 +0000 [thread overview]
Message-ID: <20170103141444.GA4649@acm.fritz.box> (raw)
Hello, Emacs.
I'm in Emacs 25.1.
I want to M-x compile-defun the function `edebug'. When I attempt this,
I get the "warning" messages:
Warning: Unused lexical variable `edebug-break'
Warning: Unused lexical variable `edebug-global-break'
Warning: Unused lexical variable `edebug-break-condition'
Warning: Unused lexical variable `edebug-break-data'
Warning: Unused lexical variable `edebug-breakpoints'
. These variables are dynamic ones, declared earlier on in the file
like this:
(defvar edebug-breakpoints)
, i.e. without initialising expressions. I tried C-x C-e on each such
declaration, then repeating the compile-defun, to no avail.
lexical-binding is set in edebug.el.
Emacs should be able to compile successfully in such circumstances,
surely?.
What am I doing wrong, here?
--
Alan Mackenzie (Nuremberg, Germany).
next reply other threads:[~2017-01-03 14:14 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-03 14:14 Alan Mackenzie [this message]
2017-01-03 18:35 ` Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical Stefan Monnier
2017-01-03 21:32 ` Alan Mackenzie
2017-01-03 21:48 ` Stefan Monnier
2017-01-04 13:39 ` Alan Mackenzie
2017-01-04 15:23 ` Stefan Monnier
2017-01-04 20:04 ` Alan Mackenzie
2017-01-04 21:49 ` Stefan Monnier
2017-01-04 22:02 ` Alan Mackenzie
2017-01-04 22:26 ` Stefan Monnier
2017-01-04 22:44 ` Drew Adams
2017-01-05 10:54 ` Alan Mackenzie
2020-02-13 16:42 ` Drew Adams
2020-02-13 20:02 ` Stefan Monnier
2020-02-13 20:43 ` Drew Adams
2020-02-13 22:09 ` Stefan Monnier
2020-02-14 1:07 ` Drew Adams
2020-02-14 2:24 ` Stefan Monnier
2020-02-14 17:25 ` Drew Adams
2020-02-14 19:19 ` Stefan Monnier
2020-02-17 18:23 ` Drew Adams
2020-02-13 22:11 ` Stefan Monnier
2020-02-14 1:13 ` Drew Adams
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=20170103141444.GA4649@acm.fritz.box \
--to=acm@muc.de \
--cc=emacs-devel@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 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).