[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Byte compiler and eval-when-compile
From: |
David Engster |
Subject: |
Re: Byte compiler and eval-when-compile |
Date: |
Thu, 18 Oct 2012 20:55:57 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) |
Stefan Monnier writes:
>>> Actually, it just recovered the smartness I added many years ago and
>>> which got broken years ago as well.
>> Just to make sure I understand this right: the byte-compiler will now
>> bark if you're using functions (instead of just macros and defsubsts)
>> from eval-when-compile'd required packages?
>
> Yes, at least that's the intention: IIRC the implementation is pretty
> approximate, so it may very well miss some such functions and complain
> about unjustified ones.
Could you maybe take a look at the end of eieio.el? I don't understand
why the compiler warns that `eieio-update-lisp-imenu-expression' is
undefined (he actually always did that, not only since your last
change). I'm also not sure what's the fix here - why did you wrap the
check for (boundp 'lisp-imenu-generic-expression) in an
`eval-when-compile'?
[It's not really important, but I'm curious. :-) ]
-David
- Byte compiler and eval-when-compile, David Engster, 2012/10/15
- Re: Byte compiler and eval-when-compile, Stefan Monnier, 2012/10/15
- Re: Byte compiler and eval-when-compile, David Engster, 2012/10/15
- Re: Byte compiler and eval-when-compile, Stefan Monnier, 2012/10/15
- Re: Byte compiler and eval-when-compile,
David Engster <=
- Re: Byte compiler and eval-when-compile, Glenn Morris, 2012/10/18
- Re: Byte compiler and eval-when-compile, David Engster, 2012/10/18
- Re: Byte compiler and eval-when-compile, Glenn Morris, 2012/10/18
- Re: Byte compiler and eval-when-compile, David Engster, 2012/10/18
- Re: Byte compiler and eval-when-compile, Stefan Monnier, 2012/10/18