* Customizing the modeline
@ 2014-12-30 20:28 Julien Cubizolles
2014-12-30 22:08 ` Thien-Thi Nguyen
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Julien Cubizolles @ 2014-12-30 20:28 UTC (permalink / raw)
To: help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Customizing the modeline
2014-12-30 20:28 Customizing the modeline Julien Cubizolles
@ 2014-12-30 22:08 ` Thien-Thi Nguyen
2014-12-31 19:42 ` J. David Boyd
2015-01-01 13:13 ` Michael Heerdegen
2015-01-03 3:29 ` Quanyang Liu
2 siblings, 1 reply; 11+ messages in thread
From: Thien-Thi Nguyen @ 2014-12-30 22:08 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 759 bytes --]
() Julien Cubizolles <j.cubizolles@free.fr>
() Tue, 30 Dec 2014 21:28:42 +0100
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?
What is ease but low-stress effort?
What is effort but deviation from stillness?
What is stillness but calming your point of view?
What is your point of view but where you are now?
What is where you are now but where you were plus effort?
--
Thien-Thi Nguyen
GPG key: 4C807502
(if you're human and you know it)
read my lisp: (responsep (questions 'technical)
(not (via 'mailing-list)))
=> nil
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Customizing the modeline
2014-12-30 22:08 ` Thien-Thi Nguyen
@ 2014-12-31 19:42 ` J. David Boyd
2015-01-01 9:43 ` Thien-Thi Nguyen
[not found] ` <mailman.17046.1420105159.1147.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 11+ messages in thread
From: J. David Boyd @ 2014-12-31 19:42 UTC (permalink / raw)
To: help-gnu-emacs
Thien-Thi Nguyen <ttn@gnu.org> writes:
> () Julien Cubizolles <j.cubizolles@free.fr>
> () Tue, 30 Dec 2014 21:28:42 +0100
>
> 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?
>
> What is ease but low-stress effort?
> What is effort but deviation from stillness?
> What is stillness but calming your point of view?
> What is your point of view but where you are now?
> What is where you are now but where you were plus effort?
Well, that didn't help, but it made me smile!
Dave
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Customizing the modeline
2014-12-31 19:42 ` J. David Boyd
@ 2015-01-01 9:43 ` Thien-Thi Nguyen
[not found] ` <mailman.17046.1420105159.1147.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 11+ messages in thread
From: Thien-Thi Nguyen @ 2015-01-01 9:43 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 448 bytes --]
() dboyd2@mmm.com (J. David Boyd)
() Wed, 31 Dec 2014 14:42:48 -0500
Well, that didn't help, but it made me smile!
Well, like they say, abstraction is a smile,
recursion a smile and a wink, infloop insanity.
--
Thien-Thi Nguyen
GPG key: 4C807502
(if you're human and you know it)
read my lisp: (responsep (questions 'technical)
(not (via 'mailing-list)))
=> nil
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <mailman.17046.1420105159.1147.help-gnu-emacs@gnu.org>]
* Re: Customizing the modeline
2014-12-30 20:28 Customizing the modeline Julien Cubizolles
2014-12-30 22:08 ` Thien-Thi Nguyen
@ 2015-01-01 13:13 ` Michael Heerdegen
2015-01-05 19:17 ` Julien Cubizolles
2015-01-03 3:29 ` Quanyang Liu
2 siblings, 1 reply; 11+ messages in thread
From: Michael Heerdegen @ 2015-01-01 13:13 UTC (permalink / raw)
To: help-gnu-emacs
Julien Cubizolles <j.cubizolles@free.fr> writes:
> 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?
You probably don't wan to run this command every time the mode-line is
recalculated (which can be quite frequently).
Do you control mpc from within Emacs?
Michael.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Customizing the modeline
2015-01-01 13:13 ` Michael Heerdegen
@ 2015-01-05 19:17 ` Julien Cubizolles
0 siblings, 0 replies; 11+ messages in thread
From: Julien Cubizolles @ 2015-01-05 19:17 UTC (permalink / raw)
To: help-gnu-emacs
Michael Heerdegen <michael_heerdegen@web.de> writes:
> Julien Cubizolles <j.cubizolles@free.fr> writes:
>
>> 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?
>
> You probably don't wan to run this command every time the mode-line is
> recalculated (which can be quite frequently).
>
> Do you control mpc from within Emacs?
Yes I do, with mingus.el. And as I stated in another reply, a recent fix
to mingus solved its modeline problem.
Julien.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Customizing the modeline
2014-12-30 20:28 Customizing the modeline Julien Cubizolles
2014-12-30 22:08 ` Thien-Thi Nguyen
2015-01-01 13:13 ` Michael Heerdegen
@ 2015-01-03 3:29 ` Quanyang Liu
2015-01-05 19:15 ` Julien Cubizolles
2 siblings, 1 reply; 11+ messages in thread
From: Quanyang Liu @ 2015-01-03 3:29 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Customizing the modeline
2015-01-03 3:29 ` Quanyang Liu
@ 2015-01-05 19:15 ` Julien Cubizolles
0 siblings, 0 replies; 11+ messages in thread
From: Julien Cubizolles @ 2015-01-05 19:15 UTC (permalink / raw)
To: help-gnu-emacs
Quanyang Liu <lqymgt@gmail.com> 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.
^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <mailman.16977.1419971383.1147.help-gnu-emacs@gnu.org>]
end of thread, other threads:[~2015-01-05 19:19 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-30 20:28 Customizing the modeline Julien Cubizolles
2014-12-30 22:08 ` Thien-Thi Nguyen
2014-12-31 19:42 ` J. David Boyd
2015-01-01 9:43 ` Thien-Thi Nguyen
[not found] ` <mailman.17046.1420105159.1147.help-gnu-emacs@gnu.org>
2015-01-03 2:55 ` Emanuel Berg
2015-01-01 13:13 ` Michael Heerdegen
2015-01-05 19:17 ` Julien Cubizolles
2015-01-03 3:29 ` Quanyang Liu
2015-01-05 19:15 ` Julien Cubizolles
[not found] <mailman.16977.1419971383.1147.help-gnu-emacs@gnu.org>
2015-01-03 2:49 ` Emanuel Berg
2015-01-05 19:19 ` Julien Cubizolles
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).