From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David =?UTF-8?Q?Cad=C3=A9?= Newsgroups: gmane.emacs.bugs Subject: bug#13143: 24.2; mpc.el: mpc-songs-refresh: Args out of range Date: Wed, 12 Dec 2012 17:40:32 +0100 (CET) Message-ID: References: <87hanszl48.fsf@alfheim.i-did-not-set--mail-host-address--so-tickle-me> <87r4mv1cbk.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1355330495 9171 80.91.229.3 (12 Dec 2012 16:41:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Dec 2012 16:41:35 +0000 (UTC) Cc: 13143@debbugs.gnu.org To: Bastien Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 12 17:41:47 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TipNQ-0001tz-BY for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Dec 2012 17:41:44 +0100 Original-Received: from localhost ([::1]:44209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TipND-0008Of-J9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Dec 2012 11:41:31 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TipN4-0008OM-E5 for bug-gnu-emacs@gnu.org; Wed, 12 Dec 2012 11:41:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TipMx-00007l-6c for bug-gnu-emacs@gnu.org; Wed, 12 Dec 2012 11:41:22 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TipMx-00007h-2t for bug-gnu-emacs@gnu.org; Wed, 12 Dec 2012 11:41:15 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TipNi-0006Vc-7y for bug-gnu-emacs@gnu.org; Wed, 12 Dec 2012 11:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: David =?UTF-8?Q?Cad=C3=A9?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Dec 2012 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13143 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13143-submit@debbugs.gnu.org id=B13143.135533048724972 (code B ref 13143); Wed, 12 Dec 2012 16:42:02 +0000 Original-Received: (at 13143) by debbugs.gnu.org; 12 Dec 2012 16:41:27 +0000 Original-Received: from localhost ([127.0.0.1]:39258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TipN8-0006Ui-QV for submit@debbugs.gnu.org; Wed, 12 Dec 2012 11:41:27 -0500 Original-Received: from mail-we0-f172.google.com ([74.125.82.172]:43067) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TipN5-0006Ua-T1 for 13143@debbugs.gnu.org; Wed, 12 Dec 2012 11:41:24 -0500 Original-Received: by mail-we0-f172.google.com with SMTP id r3so400987wey.3 for <13143@debbugs.gnu.org>; Wed, 12 Dec 2012 08:40:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; bh=jNjpPfPb2sqZSqpxjyamkJHzIMuBWCaxcOOlpxhxexE=; b=hLXKv0DrZ1I20j3WwwOhfaTgUKxudffnmLNrik91apfDRZmjZVUo0ZFhA35/VxV06Y aKIyC2yxCZdPnGd1VRQ8Q4sEgw3M9xDsVNa4E5uWtnoNXr5mypEIDctxx2KU4o8x7eO1 jBxGpbivW0kwa289x+xDdLhj7GJy5tw3b7PlvPXzvWCmoGbsaS/0+uZHYenGTnnXNBtv T05Y21bLeRK9IxtuNRJ5zaaGU09Ep3t6+e7r6xL+UGTGp2TDv3eje3O+CtVl8SLKYSjP 8s4ZgIkNKG9PbCPyfARIPQx9XeIsLaWpqyx36PYXsvAmj02FdnYzB8c0DGlpVbli81t8 ndTA== Original-Received: by 10.180.85.194 with SMTP id j2mr2983165wiz.12.1355330434552; Wed, 12 Dec 2012 08:40:34 -0800 (PST) Original-Received: from alfheim ([2a01:e34:ec06:4e20:52e5:49ff:fe37:f26e]) by mx.google.com with ESMTPS id l5sm6885069wia.10.2012.12.12.08.40.32 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Dec 2012 08:40:33 -0800 (PST) Original-Received: from david (helo=localhost) by alfheim with local-esmtp (Exim 4.80) (envelope-from ) id 1TipMG-0001Vf-JZ; Wed, 12 Dec 2012 17:40:32 +0100 X-X-Sender: david@alfheim In-Reply-To: <87r4mv1cbk.fsf@bzg.ath.cx> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:68398 Archived-At: 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 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) Greetings, -- David