[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13143: 24.2; mpc.el: mpc-songs-refresh: Args out of range
From: |
David Cadé |
Subject: |
bug#13143: 24.2; mpc.el: mpc-songs-refresh: Args out of range |
Date: |
Wed, 12 Dec 2012 17:40:32 +0100 (CET) |
User-agent: |
Alpine 2.02 (DEB 1266 2009-07-14) |
On Wed, 12 Dec 2012, Bastien wrote:
Argh! truncate-string-to-width does what I suggested as string-tail:
http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00357.html
<pedantic mode>
Your string-tail implementation limits the string to n characters, but
truncate-string-to-width limits it to n columns, which is not the same.
(There are characters that take 0 (combining characters) 1 or 2 (full
width CJK characters) columns)
</pedantic mode>
Greetings,
--
David