[Vimpulse] "Not enough arguments to format string"
stepnem at gmail.com
Fri Aug 20 23:03:45 CEST 2010
Tim Harper <timcharper at gmail.com> writes:
>> Indeed, thank you both for catching that. As the docstring of `message'
>> mentions, one should always use (message "%s" SOMETHING) unless
>> SOMETHING is a plain string (i.e. one without formatting instructions).
> I believe you mean should always use (message "%s" SOMETHING) if
> SOMETHING is a plain string (i.e. one without formatting
No, I mean what I wrote. :-)
Maybe my explanation sucks. I'll try differently: If you *know*
SOMETHING is a string without formatting instructions (i.e., not
containing %-sequences), (message SOMETHING) will do. In yet another
words, there is no point in doing
(message "%s" "just an innocuous string")
More information about the implementations-list