Subject: Re: 23.1.90; Error "Args out of range" when formatting string w/ text properties

From: Chong Yidong <[email-masked]>
Date: Sat, 09 Jan 2010 17:34:16 -0500

> When formatting a string using the %s format specifier with a input
> string that has a text property under certain circumstances Emacs
> throws an args-out-of-range error.
>
> - Evaluate this (emacs -Q):
>   (format "%.10s" (concat "1234567890aaaa"
>      (propertize "12345678901234567890" 'xxx 25)))

Thank you for the bug report.  I've checked a fix into the Emacs
repository.