[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: Fri, 07 Dec 2007 18:24:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

> Here's an idea: make up an argument to `message' that says treat the
> next argument literally.  How about t?
>    (message t STRING) is equivalent to (message "%s" STRING)
>    (message t nil) is equivalent to (message nil)
> So in the cases that are buggy it suffices to add t as the first argument.

I don't particularly like it.  What about (message t nil 7), what is
that supposed to return?  nil too?  Anyway, there is little point to
make this specific to message.  So if at all, we would special-case
format instead.  Which means that (stringp (format ...)) is no longer
guaranteed to be true.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]