From: "David Cadé" <codename68@gmail.com>
To: Bastien <bzg@altern.org>
Cc: 13143@debbugs.gnu.org
Subject: bug#13143: 24.2; mpc.el: mpc-songs-refresh: Args out of range
Date: Wed, 12 Dec 2012 17:40:32 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.02.1212121737050.5276@alfheim> (raw)
In-Reply-To: <87r4mv1cbk.fsf@bzg.ath.cx>
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
next prev parent reply other threads:[~2012-12-12 16:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-11 15:03 bug#13143: 24.2; mpc.el: mpc-songs-refresh: Args out of range David Cadé
2012-12-12 1:56 ` Stefan Monnier
2012-12-12 6:24 ` Thierry Volpiatto
2012-12-12 12:55 ` David Cadé
2012-12-12 14:00 ` David Cadé
2012-12-12 16:04 ` Stefan Monnier
2012-12-12 16:10 ` Bastien
2012-12-12 16:40 ` David Cadé [this message]
2012-12-12 16:51 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.02.1212121737050.5276@alfheim \
--to=codename68@gmail.com \
--cc=13143@debbugs.gnu.org \
--cc=bzg@altern.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).