[Vimpulse] "Not enough arguments to format string"
Stephen Bach
sjbach at sjbach.com
Fri Aug 20 16:46:11 CEST 2010
Hi,
There's some code in vimpulse-range and a couple other functions to save
and restore the message stored in the echo area. It's got a small bug
because of this behaviour of (current-message):
(message "%%s message)
--> displays "%s message string"
(progn
(message "%%s message string")
(current-message))
--> returns "%s message string"
(progn
(message "%%s message string")
(message (current-message)))
--> (error "Not enough arguments for format string")
Seems like the string returned by current-message should be escaped
for % before redisplay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : https://lists.ourproject.org/pipermail/implementations-list/attachments/20100820/ea7bf3b3/attachment.pgp
More information about the implementations-list
mailing list