[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HowTo: Run a hook when a buffer becomes "current"
From: |
David Kastrup |
Subject: |
Re: HowTo: Run a hook when a buffer becomes "current" |
Date: |
Fri, 18 Dec 2015 10:30:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
raman <address@hidden> writes:
> I divided the types of things I do into categories:
> (things I do == things I do in Emacs since I dont use anything else)
>
> Communicate: mail, gnus, twitter, jabber etc
> Program (prog-mode covers them all)
> text-mode (write content)
> special-mode: applications written in Emacs
> web: eww, w3
>
> Then I created a mapping from modes to soundscapes (think mode -> mood)
> and finally, i attached myself to select-mode-hook to switch the
> soundscape that is playing.
Sounds to me as if you want to hook in the mode line update. Which then
becomes more of a mood line update.
--
David Kastrup
- HowTo: Run a hook when a buffer becomes "current", raman, 2015/12/16
- Re: HowTo: Run a hook when a buffer becomes "current", Nicolas Richard, 2015/12/16
- Re: HowTo: Run a hook when a buffer becomes "current", Richard Stallman, 2015/12/16
- Re: HowTo: Run a hook when a buffer becomes "current", raman, 2015/12/17
- Re: HowTo: Run a hook when a buffer becomes "current", Richard Stallman, 2015/12/18
- Re: HowTo: Run a hook when a buffer becomes "current", raman, 2015/12/19
- Re: HowTo: Run a hook when a buffer becomes "current", Dmitry Gutov, 2015/12/19
- Re: HowTo: Run a hook when a buffer becomes "current", raman, 2015/12/19
- Re: HowTo: Run a hook when a buffer becomes "current", John Wiegley, 2015/12/22
- Re: HowTo: Run a hook when a buffer becomes "current", raman, 2015/12/22
Re: HowTo: Run a hook when a buffer becomes "current", Karl Fogel, 2015/12/17