From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Julien Cubizolles Newsgroups: gmane.emacs.help Subject: Re: Customizing the modeline Date: Mon, 05 Jan 2015 20:15:34 +0100 Message-ID: <87ioglnind.fsf@free.fr> References: <87zja4anlx.fsf@free.fr> <86tx081qzm.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1420485476 11195 80.91.229.3 (5 Jan 2015 19:17:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2015 19:17:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 05 20:17:51 2015 Return-path: Envelope-to: geh-help-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 1Y8D92-0006DY-GW for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Jan 2015 20:16:52 +0100 Original-Received: from localhost ([::1]:33692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8D91-0006NS-Ke for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Jan 2015 14:16:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8D8q-0006NI-P4 for help-gnu-emacs@gnu.org; Mon, 05 Jan 2015 14:16:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8D8m-0003ur-MM for help-gnu-emacs@gnu.org; Mon, 05 Jan 2015 14:16:40 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:33838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8D8m-0003ub-FT for help-gnu-emacs@gnu.org; Mon, 05 Jan 2015 14:16:36 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y8D8P-0002iB-85 for help-gnu-emacs@gnu.org; Mon, 05 Jan 2015 20:16:13 +0100 Original-Received: from gas45-3-82-244-252-119.fbx.proxad.net ([82.244.252.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Jan 2015 20:16:13 +0100 Original-Received: from j.cubizolles by gas45-3-82-244-252-119.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Jan 2015 20:16:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: gas45-3-82-244-252-119.fbx.proxad.net User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:zWeA8bNnT9IOZuCDsAkFGOF1Ams= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101890 Archived-At: Quanyang Liu writes: > On Wed, Dec 31 2014 at 04:28:42 +0800, Julien Cubizolles wrote: >> I'd like to display the track currently played my mpd in the >> modeline. What would be the easiest way to just add the output of >> mpc current -f "[[%artist%] %title%]" >> for example? >> >> Julien. > > ahhh... I found there is too many information in my modeline, which > confused me a lot... But I only add the battery useage... > > By the way, maybe the followings two links will help :) > http://www.emacswiki.org/emacs/mingus.el Actually I was trying to hack the modeline by myself because mingus.el (that I use all the time) didn't seem to use the way its documentation advertised. I posted a message on the github forum (https://github.com/pft/mingus/issues/8) and this problem has been swiftly fixed by the author. All of you running mingus, try to the "song" branch. Julien.