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: Customizing the modeline Date: Tue, 30 Dec 2014 21:28:42 +0100 Message-ID: <87zja4anlx.fsf@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1419971401 4257 80.91.229.3 (30 Dec 2014 20:30:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2014 20:30:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 30 21:29:54 2014 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 1Y63QP-0006UZ-Ue for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Dec 2014 21:29:54 +0100 Original-Received: from localhost ([::1]:38218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y63QP-00068p-75 for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Dec 2014 15:29:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y63QD-00068i-Um for help-gnu-emacs@gnu.org; Tue, 30 Dec 2014 15:29:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y63QA-0006au-Pr for help-gnu-emacs@gnu.org; Tue, 30 Dec 2014 15:29:41 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:45397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y63QA-0006ai-Jh for help-gnu-emacs@gnu.org; Tue, 30 Dec 2014 15:29:38 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y63Q9-0006Gv-DB for help-gnu-emacs@gnu.org; Tue, 30 Dec 2014 21:29:37 +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 ; Tue, 30 Dec 2014 21:29:37 +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 ; Tue, 30 Dec 2014 21:29:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 9 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:RdGYDrMKqvf4s8Ae0NsV/vGCTRw= 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:101773 Archived-At: 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 --8<---------------cut here---------------start------------->8--- mpc current -f "[[%artist%] %title%]" --8<---------------cut here---------------end--------------->8--- for example? Julien.