[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fixing numerous `message' bugs..
From: |
Glenn Morris |
Subject: |
Re: Fixing numerous `message' bugs.. |
Date: |
Fri, 07 Dec 2007 19:56:16 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Stefan Monnier wrote:
> The problem is that all those bugs are here because the corresponding
> authors just didn't think, so they are unlikely to use this new
> arg either.
Is there any way to improve byte-compile-format-warn in this regard?
It's easy to make it warn if the first arg to format is not a fixed
string or nil, but that leaves false positives for things like:
(setq fmt "%s")
(message fmt some-variable)
Can the byte-compiler figure out what is a known constant at compile
time? One would only want it to warn where the first argument is not
fully known at compile-time.
Because everyone pays attention to compiler warnings, right? ;)
- Re: Fixing numerous `message' bugs.., (continued)
- Re: Fixing numerous `message' bugs.., Stefan Monnier, 2007/12/06
- Re: Fixing numerous `message' bugs.., Dave Goel, 2007/12/06
- Re: Fixing numerous `message' bugs.., Stefan Monnier, 2007/12/06
- Re: Fixing numerous `message' bugs.., David Kastrup, 2007/12/06
- Re: Fixing numerous `message' bugs.., David Kastrup, 2007/12/06
- Re: Fixing numerous `message' bugs.., Richard Stallman, 2007/12/07
- Re: Fixing numerous `message' bugs.., David Kastrup, 2007/12/07
- Re: Fixing numerous `message' bugs.., Dave Goel, 2007/12/07
- Re: Fixing numerous `message' bugs.., Stefan Monnier, 2007/12/07
- Re: Fixing numerous `message' bugs..,
Glenn Morris <=
- Re: Fixing numerous `message' bugs.., Stefan Monnier, 2007/12/07
- Re: Fixing numerous `message' bugs.., David Kastrup, 2007/12/08
- Re: Fixing numerous `message' bugs.., Richard Stallman, 2007/12/08
- Re: Fixing numerous `message' bugs.., Dave Goel, 2007/12/10
- Re: Fixing numerous `message' bugs.., Jason Rumney, 2007/12/10
- Re: Fixing numerous `message' bugs.., Dave Goel, 2007/12/10
- Re: Fixing numerous `message' bugs.., Andreas Schwab, 2007/12/10
- Re: Fixing numerous `message' bugs.., Dave Goel, 2007/12/10
- Re: Fixing numerous `message' bugs.., David Kastrup, 2007/12/10
- Re: Fixing numerous `message' bugs.., Dave Goel, 2007/12/10