From: Michael Heerdegen <michael_heerdegen@web.de>
To: Yuta Yamada <sleepboy.zzz@gmail.com>
Cc: 23495@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 18:25:40 +0200 [thread overview]
Message-ID: <87bn4cwohn.fsf@web.de> (raw)
In-Reply-To: <20160511.073359.1441885897227740593.sleepboy.zzz@gmail.com> (Yuta Yamada's message of "Wed, 11 May 2016 07:33:59 -0700 (PDT)")
Yuta Yamada <sleepboy.zzz@gmail.com> writes:
> (defun byte-compile-log-warning (string &optional fill level)
> (let ((warning-prefix-function 'byte-compile-warning-prefix)
> (warning-type-format "")
> (warning-fill-prefix (if fill " ")))
> (display-warning 'bytecomp string level byte-compile-log-buffer)
> ;; I added below code
> ;; the `byte-compiler-error-flag' changes final result of
> ;; byte-compile-file.
> (when (or byte-compile-error-on-warn (eq level :error))
> (setq byte-compiler-error-flag t))))
Dunno if something like that what would be accepted. OTOH, if the
behavior could be controlled by a user option, it would not harm.
I leave it to somebody else to decide that.
Michael.
prev parent reply other threads:[~2016-05-11 16:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-09 8:12 bug#23495: byte-compile-file return t when there is "XXX can't use lexical var" error Yuta Yamada
2016-05-10 18:23 ` Michael Heerdegen
2016-05-10 23:45 ` Yuta Yamada
2016-05-11 0:29 ` Michael Heerdegen
2016-05-11 11:57 ` Michael Heerdegen
2016-05-11 14:33 ` Yuta Yamada
2016-05-11 16:25 ` Michael Heerdegen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bn4cwohn.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=23495@debbugs.gnu.org \
--cc=sleepboy.zzz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.