[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12371: 24.2.50; macroexpand-all reporting warnings to *Compile-Log*
From: |
Christopher Schmidt |
Subject: |
bug#12371: 24.2.50; macroexpand-all reporting warnings to *Compile-Log* |
Date: |
Thu, 6 Sep 2012 14:58:22 +0100 (BST) |
emacs -q
M-: (macroexpand-all '(mapc '(lambda ()) nil)) RET
Debugger entered--Lisp error: (void-function byte-compile-log-warning)
emacs -q
M-x load-library RET bytecomp RET
M-: (macroexpand-all '(mapc '(lambda ()) nil)) RET
A *Compile-Log* buffer appears, with the following content
Warning: (lambda nil ...) quoted with ' rather than with #'
This is utterly confusing. There is no compilation going on. (Another
user experience regarding this issue can be found in bug report 12362 -
<87392vtj24.fsf@jidanni.org>.)
macroexp--expand-all, which is the originator of the warning, calls
byte-compile-log-warning without consulting byte-compile-warnings.
I think the warning message should include a hint that it was generated
by macroexpanding code and byte-compile-warnings should be consulted as
well.
GNU Emacs 24.2.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of
2012-09-06.
Christopher
- bug#12371: 24.2.50; macroexpand-all reporting warnings to *Compile-Log*,
Christopher Schmidt <=
- bug#12371: 24.2.50; macroexpand-all reporting warnings to *Compile-Log*, Christopher Schmidt, 2012/09/06
- bug#12371: 24.2.50; macroexpand-all reporting warnings to *Compile-Log*, Stefan Monnier, 2012/09/19
- bug#12371: macroexp--funcall-if-compiled broke bootstrap for me, Paul Eggert, 2012/09/19
- bug#12371: macroexp--funcall-if-compiled broke bootstrap for me, Stefan Monnier, 2012/09/19
- bug#12371: macroexp--funcall-if-compiled broke bootstrap for me, Paul Eggert, 2012/09/20
- bug#12371: macroexp--funcall-if-compiled broke bootstrap for me, Paul Eggert, 2012/09/20
- bug#12371: macroexp--funcall-if-compiled broke bootstrap for me, Troels Nielsen, 2012/09/20
- bug#12371: macroexp--funcall-if-compiled broke bootstrap for me, Stefan Monnier, 2012/09/20
- bug#12371: macroexp--funcall-if-compiled broke bootstrap for me, Stefan Monnier, 2012/09/20