From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: axel.junker@Safe-mail.net Newsgroups: gmane.emacs.bugs Subject: bug#8293: mpc.el: "error in process filter" Date: Sat, 19 Mar 2011 12:04:14 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1300559768 31127 80.91.229.12 (19 Mar 2011 18:36:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2011 18:36:08 +0000 (UTC) To: 8293@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 19 19:36:00 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q110J-0002SK-Rb for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Mar 2011 19:36:00 +0100 Original-Received: from localhost ([127.0.0.1]:49466 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q110D-00026q-WA for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Mar 2011 14:35:54 -0400 Original-Received: from [140.186.70.92] (port=52304 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q10YS-000772-R5 for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2011 14:07:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q10YR-0003IP-Al for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2011 14:07:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q10YR-0003IL-4f for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2011 14:07:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q10Lj-0004G3-35; Sat, 19 Mar 2011 13:54:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: axel.junker@Safe-mail.net Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Mar 2011 17:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8293 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.130055723416344 (code B ref -1); Sat, 19 Mar 2011 17:54:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Mar 2011 17:53:54 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q10LY-0004FX-Ov for submit@debbugs.gnu.org; Sat, 19 Mar 2011 13:53:54 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q0ye7-0001u9-EA for submit@debbugs.gnu.org; Sat, 19 Mar 2011 12:04:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0ye0-0002w3-Bt for submit@debbugs.gnu.org; Sat, 19 Mar 2011 12:04:50 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:42128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0ydz-0002v2-AZ for submit@debbugs.gnu.org; Sat, 19 Mar 2011 12:04:48 -0400 Original-Received: from [140.186.70.92] (port=51291 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0ydm-00039X-04 for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2011 12:04:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0ydg-0002lq-Cl for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2011 12:04:30 -0400 Original-Received: from tamar.safe-mail.net ([213.8.161.229]:54722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0ydf-0002kC-Vc for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2011 12:04:28 -0400 Original-Received: by tamar.safe-mail.net with Safe-mail (Exim 4.66) (envelope-from ) id 1Q0ydS-0005na-Mg for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2011 12:04:14 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=N1-0105; d=Safe-mail.net; b=iBD9zcKQboX2owPVd/n5YEBsEF3NQHf/foHHrOjU8Wqk+UyuZIw6qNApNlNmGKC1 I7D+HR/UKlXHeTazK97FHFFEYWR1Qq8pqRSqUx8HJt+TegGjyiQ3su4QIwqDSowR 8TufNaHPh4w4WJyYdCvobaVSe1csVOGqkGZsJe7kvM4=; Original-Received: from pc ([92.201.10.74]) by Safe-mail.net with https X-SMType: Regular X-SMRef: N1B-W7DCLzv2F4 X-SMSignature: i5aE/MJdYnjD95GXF2WiAsaGG/YBw1Xf96eakDTAGHqS20n8+nkzLy8tNi9xBsS6 yBk+JiMk4EiiTiWm1xDAugONwHFAd/ThqjD4Tuz/eZij6E/WsVCajDqlAcBEtkgQ bJY9gP3pP1Imp2EiUunm7b5dglVsIDsfuF8O9Ha75sE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 19 Mar 2011 13:53:51 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 19 Mar 2011 13:54:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Sat, 19 Mar 2011 14:35:48 -0400 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45172 Archived-At: I am using a semi-fresh build of emacs master on i686-pc-linux-gnu. This is a bug report concerning mpc.el. I have not modifier mpc.el or its variables so far. When selecting an album in the "Albums | Playlists"-view (upper right corner), mpc.el issues a find command regarding Albums and Playlists E.g. for an Album called 2001: Send "(find Album 2001)" Receive "file: dr. dre - 2001/Dr. Dre - Lolo.mp3 Time: 42 Artist: Dr. Dre Title: Lolo [etc.] file: dr. dre - 2001/Dr. Dre - Bang Bang.mp3 Time: 222 Artist: Dr. Dre Title: Bang Bang Album: 2001 Track: 21 Genre: Hip-Hop OK " Send "(listplaylistinfo 2001)" Receive "ACK [50@0] {listplaylistinfo} No such playlist " mpc--proc-filter regards "ACK [50@0] {listplaylistinfo} No such playlist" to be an error and signals an mpc-proc-error. In mpc-cmd-find (mpc.el:599) the mpc-proc-cmd that issues that listplaylistinfo-request explicitly ignores any error by wrapping the invocation in a condition-case with a nil error handler. Unfortunately this does not work. As the error is signaled by a process filter, emacs itself issues an error in process.c . That means, the signal never escapes the process filter. This leads to an ugly error output and the album selection does not work at all. I think this is a bug. /-Axel In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.22.0) of 2011-03-03 on ghost Windowing system distributor `The X.Org Foundation', version 11.0.10900000 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 Recent messages: error in process filter: mpc--proc-filter: MPD error error in process filter: MPD error