GNU bug report logs - #5306
23.1.90; Error "Args out of range" when formatting string w/ text properties

Previous Next

Package: emacs;

Reported by: David Maus <maus.david <at> gmail.com>

Date: Tue, 5 Jan 2010 14:09:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: David Maus <maus.david <at> gmail.com>
Cc: 5306 <at> debbugs.gnu.org
Subject: bug#5306: 23.1.90; Error "Args out of range" when formatting string w/ text properties
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.




This bug report was last modified 15 years and 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.