[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fixing numerous `message' bugs..
From: |
David Kastrup |
Subject: |
Re: Fixing numerous `message' bugs.. |
Date: |
Sat, 08 Dec 2007 11:55:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>>> 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?
>
> Kind of, but it's not very satifactory. In contrast, if we change
> (message FOO) to behave like (if FOO (message "%s" FOO) (message nil)),
> then naive coders will simply not bump into any surprise, even if they
> don't look at byte-compiler warnings. Also it will save people from
> quoting the % char in those cases.
> The only downside is the need to change existing code.
Yes. There is indeed code using "%%" in a single argument.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: Fixing numerous `message' bugs.., (continued)
- 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, 2007/12/07
- Re: Fixing numerous `message' bugs.., Stefan Monnier, 2007/12/07
- Re: Fixing numerous `message' bugs..,
David Kastrup <=
- 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
- Re: Fixing numerous `message' bugs.., David Kastrup, 2007/12/10
- Re: Fixing numerous `message' bugs.., Richard Stallman, 2007/12/08