From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Quanyang Liu Newsgroups: gmane.emacs.help Subject: Re: Customizing the modeline Date: Sat, 03 Jan 2015 11:29:33 +0800 Message-ID: <86tx081qzm.fsf@gmail.com> References: <87zja4anlx.fsf@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1420255808 7885 80.91.229.3 (3 Jan 2015 03:30:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2015 03:30:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 03 04:30:02 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 1Y7FPc-0003po-EE for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jan 2015 04:30:00 +0100 Original-Received: from localhost ([::1]:53405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7FPb-0001IT-LO for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Jan 2015 22:29:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7FPR-0001IO-Q2 for help-gnu-emacs@gnu.org; Fri, 02 Jan 2015 22:29:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7FPO-00024h-KS for help-gnu-emacs@gnu.org; Fri, 02 Jan 2015 22:29:49 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:54188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7FPO-00024U-Dv for help-gnu-emacs@gnu.org; Fri, 02 Jan 2015 22:29:46 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y7FPM-0003nX-Mh for help-gnu-emacs@gnu.org; Sat, 03 Jan 2015 04:29:45 +0100 Original-Received: from 111.186.3.60 ([111.186.3.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Jan 2015 04:29:44 +0100 Original-Received: from lqymgt by 111.186.3.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Jan 2015 04:29:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 111.186.3.60 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:e2xBWf/sPwFeXmobT9/0pnxY98o= 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:101855 Archived-At: 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 http://www.emacswiki.org/emacs/NowPlaying