all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: "David Cadé" <codename68@gmail.com>
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:51:59 +0100	[thread overview]
Message-ID: <871uev1ads.fsf@bzg.ath.cx> (raw)
In-Reply-To: <alpine.DEB.2.02.1212121737050.5276@alfheim> ("David Cadé"'s message of "Wed, 12 Dec 2012 17:40:32 +0100 (CET)")

Hi David,

David Cadé <codename68@gmail.com> writes:

> 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>

Agreed.  I just wish I'd stumbled on `truncate-string-to-width' before!

-- 
 Bastien





      reply	other threads:[~2012-12-12 16:51 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é
2012-12-12 16:51           ` Bastien [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871uev1ads.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=13143@debbugs.gnu.org \
    --cc=codename68@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.