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: Tue, 11 Dec 2012 16:03:51 +0100 Message-ID: <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; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1355244816 4225 80.91.229.3 (11 Dec 2012 16:53:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Dec 2012 16:53:36 +0000 (UTC) To: 13143@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 11 17:53:50 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 1TiT5Z-0000y5-R3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2012 17:53:50 +0100 Original-Received: from localhost ([::1]:57470 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiT5N-0001r0-8y for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2012 11:53:37 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiT5E-0001qN-TV for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 11:53:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiT57-0003EC-7r for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 11:53:28 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiT56-0003E4-UM for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 11:53:21 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TiT5m-0003m2-6S for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 11:54: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: Tue, 11 Dec 2012 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13143 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.135524482414475 (code B ref -1); Tue, 11 Dec 2012 16:54:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Dec 2012 16:53:44 +0000 Original-Received: from localhost ([127.0.0.1]:37373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TiT5T-0003lP-Ao for submit@debbugs.gnu.org; Tue, 11 Dec 2012 11:53:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34322) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TiROn-00010S-1g for submit@debbugs.gnu.org; Tue, 11 Dec 2012 10:05:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiRNw-0002h0-14 for submit@debbugs.gnu.org; Tue, 11 Dec 2012 10:04:51 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:58608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiRNv-0002gw-UN for submit@debbugs.gnu.org; Tue, 11 Dec 2012 10:04:39 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiRNq-0006tZ-2h for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 10:04:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiRNe-0002YH-Fr for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 10:04:33 -0500 Original-Received: from mail-wg0-f51.google.com ([74.125.82.51]:64372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiRNe-0002VX-6i for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 10:04:22 -0500 Original-Received: by mail-wg0-f51.google.com with SMTP id gg4so1872184wgb.30 for ; Tue, 11 Dec 2012 07:04:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=N0TLb+pVMRvTjLkc5p1fUSokcmcOW0G7rjIJxvQa+84=; b=PfEZ3V5VTEg78cx+BOFR206m0pJlU/HFVel37kWVI2OTDf5olhGoYQdJpwV4sE9Mvq 2IonL5/sdanO7Ll+W3PEISDq0eiZXshYvlpAYhbd7qz7z/WJfinnrpuCl8DTrxjyqc+u cJqO2wo4rbITYC88yeyfv8MzndaNCshwI10lyOIUj9Unz//iKN02uO5cZq//o+/UznH0 xrm5xK8lJ75KNIlpQ46EsVFEZu8lwBkQ6udE6KPiJDXIZXQTG4vYn6Hxx2O8j0T/TyRZ 5OIJY61Z3eL4OU6dZgia7Ki7rq3Um7ABLbbw/Dil12IiinZL6N9Glroa20kajbRLQX6y B8GA== Original-Received: by 10.180.80.168 with SMTP id s8mr3187981wix.8.1355238260511; Tue, 11 Dec 2012 07:04:20 -0800 (PST) Original-Received: from alfheim ([2a01:e34:ec06:4e20:52e5:49ff:fe37:f26e]) by mx.google.com with ESMTPS id s10sm1884232wiw.4.2012.12.11.07.04.18 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Dec 2012 07:04:19 -0800 (PST) Original-Received: from david by alfheim with local (Exim 4.80) (envelope-from ) id 1TiRNa-0001QF-4j for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 16:04:18 +0100 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 11 Dec 2012 11:53:42 -0500 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:68329 Archived-At: This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Dear Emacs developers, I first launched the mpc interface by typing M-x mpc. I did not touch any configuration parameter for this mode. I then chose an album in the Albums | Playlists window by typing RET on it. This triggered the following error: mpc-songs-refresh: Args out of range: "..." 0, -21 for an album name that contains japanese characters and is 45 characters long. The "..." in the error above contains exactly the name of the album. The down right window only displays the title of the first song of the album, and nothing else. I have redacted out the name of the album because this error occurs with a maybe different and always negative second number for every sufficiently long album name containing japanese characters.=20 Another maybe related bug: when there are japanese characters in the album name and it is too long to be displayed without ellipsis (=E2=80=A6),= the longer the less characters are present before the ellipsis. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/24.2/etc/DEBUG. In GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-09 on trouble, modified by Debian Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D/usr/lib' '--localstatedir=3D/var/lib' '--infodir=3D/usr/share/info' '--mandir=3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/2= 4.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.2/site-l= isp:/usr/share/emacs/site-lisp' '--with-crt-dir=3D/usr/lib/x86_64-linux-gnu' '--with-x=3Dyes' '--with-x-toolkit=3Dgtk' '--with-toolkit-scroll-bars' 'build_alias=3Dx86_64-linux-gnu' 'CFLAGS=3D-g -O2 -fstack-protector --param=3Dssp-buffer-size=3D4 -Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC [ > 0 ; 1 1 5 ; 0 c ESC x e m DEL DEL r e p o TAB=20 r TAB RET ESC O A ESC O A m p c : SPC m p c - r e l=20 o a n DEL DEL DEL DEL DEL DEL TAB TAB DEL DEL s o n=20 g s - r e l o a DEL C-g C-x b C-g C-x C-f e m TAB RET=20 C-x b C-g ESC x e m a TAB r e p TAB DEL DEL DEL DEL=20 DEL DEL DEL DEL DEL r e p TAB o TAB r TAB RET Recent messages: Startup with window[1] Loading /etc/emacs/site-start.d/50windows-el.el (source)...done Loading /etc/emacs/site-start.d/51ghc-mod.el (source)...done Loading /etc/emacs/site-start.d/51tuareg-mode.el (source)...done Loading iso-transl...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... goto-history-element: Beginning of history; no preceding item [2 times] Quit [3 times] Making completion list... [2 times] Load-path shadows: