From: Lowell Gilbert <lgusenet@be-well.ilk.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Is there a hook when current window or buffer changes?
Date: Tue, 02 Apr 2013 15:43:03 -0400 [thread overview]
Message-ID: <444nfoafco.fsf@lowell-desk.lan> (raw)
In-Reply-To: mailman.23326.1364930131.855.help-gnu-emacs@gnu.org
Steven Degutis <sbdegutis@gmail.com> writes:
> Advising functions is limited. For example, if you select a window with
> your mouse, no function is called interactively, it just changes the window.
mouse-leave-buffer-hook?
mouse-select-window?
mouse-drag-region?
> Maybe I can use the same hook modeline uses to know how to color itself
> active or inactive?
Not a good idea. A lot of the modeline handling isn't done in lisp.
next parent reply other threads:[~2013-04-02 19:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.23326.1364930131.855.help-gnu-emacs@gnu.org>
2013-04-02 19:43 ` Lowell Gilbert [this message]
2013-04-02 21:08 ` Is there a hook when current window or buffer changes? Michael Heerdegen
2013-04-02 21:28 ` Steven Degutis
2013-04-02 21:32 ` Michael Heerdegen
2013-04-02 19:15 Steven Degutis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=444nfoafco.fsf@lowell-desk.lan \
--to=lgusenet@be-well.ilk.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.