From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.bugs Subject: bug#13143: 24.2; mpc.el: mpc-songs-refresh: Args out of range Date: Wed, 12 Dec 2012 17:10:07 +0100 Message-ID: <87r4mv1cbk.fsf@bzg.ath.cx> References: <87hanszl48.fsf@alfheim.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355328637 22210 80.91.229.3 (12 Dec 2012 16:10:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Dec 2012 16:10:37 +0000 (UTC) Cc: codename68@gmail.com To: 13143@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 12 17:10:51 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 1TiotT-0005fi-Ga for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Dec 2012 17:10:47 +0100 Original-Received: from localhost ([::1]:51436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiotG-00071o-KU for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Dec 2012 11:10:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tiot3-0006Wz-Gr for bug-gnu-emacs@gnu.org; Wed, 12 Dec 2012 11:10:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tiosx-0008JB-1X for bug-gnu-emacs@gnu.org; Wed, 12 Dec 2012 11:10:21 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tiosw-0008J1-Vc for bug-gnu-emacs@gnu.org; Wed, 12 Dec 2012 11:10:14 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tioth-0005kL-Kk for bug-gnu-emacs@gnu.org; Wed, 12 Dec 2012 11:11:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Bastien Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Dec 2012 16:11:01 +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.135532866022082 (code B ref 13143); Wed, 12 Dec 2012 16:11:01 +0000 Original-Received: (at 13143) by debbugs.gnu.org; 12 Dec 2012 16:11:00 +0000 Original-Received: from localhost ([127.0.0.1]:39209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tiotf-0005k6-Ja for submit@debbugs.gnu.org; Wed, 12 Dec 2012 11:10:59 -0500 Original-Received: from mail-wi0-f175.google.com ([209.85.212.175]:57327) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tiotd-0005jy-ER for 13143@debbugs.gnu.org; Wed, 12 Dec 2012 11:10:58 -0500 Original-Received: by mail-wi0-f175.google.com with SMTP id hm11so2949675wib.14 for <13143@debbugs.gnu.org>; Wed, 12 Dec 2012 08:10:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=A9BIbQMu7qJBFq2MRDbnukiBD3eM7UsrDdrzaxKNKQ4=; b=t7yp0EFVTs2F5Snl5KZeAM4zFs0+LjbkUg6N7Bdb08pdWuhWUkbM9T0iXdyX6h6E9k ebJEdlR8TVV/UKz78pRrgxHTpMGwwnwg5zqPqSz4SKMFUrFDTcXDOo02K4XpC8pIC8C/ T7i6VH64B2lCFj5vXU7QMmwZG805hSGmRS8T1rbuTsAMB4H97vm4nnqB1HpPCiLf/rNq dUbVdVWzge4zRjYNfXIpEAAmzl0H9mu5ducjZl3ugPdPrPMD8fNXPl1qe8TNM/flc859 Ga2TXkeIGV+Gi1Xp/d6/fmUFpQz1jQE0KJx1uQv4vVfRYd2AM6LN24++gDlAsODjlcQq 47KQ== Original-Received: by 10.180.8.133 with SMTP id r5mr4036901wia.7.1355328608952; Wed, 12 Dec 2012 08:10:08 -0800 (PST) Original-Received: from bzg.localdomain (62-193-54-78.stella-net.net. [62.193.54.78]) by mx.google.com with ESMTPS id s10sm7048021wiw.4.2012.12.12.08.10.07 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Dec 2012 08:10:08 -0800 (PST) Original-Received: by bzg.localdomain (Postfix, from userid 1000) id 518ED22425; Wed, 12 Dec 2012 17:10:07 +0100 (CET) In-Reply-To: (Stefan Monnier's message of "Wed, 12 Dec 2012 11:04:46 -0500") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) 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:68394 Archived-At: Hi Stefan, Stefan Monnier writes: > PS: I guess I didn't know about truncate-string-to-width when I wrote > this code. But looking at truncate-string-to-width, I hope it won't > impact performance too much. Argh! truncate-string-to-width does what I suggested as string-tail: http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00357.html Maybe an alias like string-truncate-to-width (or just string-truncate) could help discoverability? -- Bastien