[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can't M-x compile-defun `edebug' because dynamic variables are falsely t
From: |
Alan Mackenzie |
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 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
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).
- Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical.,
Alan Mackenzie <=
- Re: Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical., Stefan Monnier, 2017/01/03
- Re: Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical., Alan Mackenzie, 2017/01/03
- Re: Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical., Stefan Monnier, 2017/01/03
- Re: Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical., Alan Mackenzie, 2017/01/04
- Re: Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical., Stefan Monnier, 2017/01/04
- Re: Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical., Alan Mackenzie, 2017/01/04
- Re: Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical., Stefan Monnier, 2017/01/04
- Re: Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical., Alan Mackenzie, 2017/01/04
- Re: Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical., Stefan Monnier, 2017/01/04
- RE: Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical., Drew Adams, 2017/01/04