GNU bug report logs - #23495
byte-compile-file return t when there is "XXX can't use lexical var" error

Previous Next

Package: emacs;

Reported by: Yuta Yamada <sleepboy.zzz <at> gmail.com>

Date: Mon, 9 May 2016 17:20:03 UTC

Severity: normal

Tags: fixed

Merged with 24359, 24360

Found in version 25.1

Fixed in version 26

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Yuta Yamada <sleepboy.zzz <at> gmail.com>
Cc: 23495 <at> debbugs.gnu.org
Subject: bug#23495: byte-compile-file return t when there is "XXX can't use lexical var" error
Date: Wed, 11 May 2016 13:57:39 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> Seems it's wanted.  The compiler calls `byte-compile-log-warning' in
> this case, which, unlike `byte-compile-warn', circumvents
> `byte-compile-error-on-warn'.

I wonder if we could/should call `byte-compile-warn' instead.

But Yuta, please tell me about your use case.  A lot of other warnings
printed while byte compiling can hint to similarly serious mistakes in
the code.

Would changing the behavior of this particular case really make things
better?  Can't you just have a look at the compiler warnings, which is a
good idea (necessary) anyway?


Thanks,

Michael.




This bug report was last modified 8 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.