GNU bug report logs -
#16184
24.3.50; edebug and eval-when-compiler don't work together
Previous Next
Reported by: Anders Lindgren <andlind <at> gmail.com>
Date: Wed, 18 Dec 2013 10:59:01 UTC
Severity: normal
Found in version 24.3.50
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 16184 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi!
Unfortunately, the problem still seems to be there. I tried this on latest
trunk (as of yesterday) with the patch applied and I still get an error
when I do C-u C-M-x on the code I originally supplied.
-- Anders
On Fri, Dec 20, 2013 at 1:01 AM, Katsumi Yamaoka <yamaoka <at> jpl.org> wrote:
> Anders Lindgren wrote:
> > The construct 'eval-when-compile' seems to throw debug off. When
> > pressing C-u C-M-x on the following, an error is issued. This worked
> > correctly in 24.3. This makes it hard to use edebug on functions in
> > cc-mode (like c-font-lock-declarations), as it makes heavy use of
> > eval-when-compile.
>
> > (defun test (limit)
> > (eval-when-compile
> > (boundp 'parse-sexp-lookup-properties)))
>
> I'm not sure of it but the patch below seems to solve it.
> This works for the bug#14646 case[1], too. WDYT?
>
> [1] <http://thread.gmane.org/gmane.emacs.bugs/80778>
>
>
[Message part 2 (text/html, inline)]
This bug report was last modified 8 years and 236 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.