From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Is there a hook when current window or buffer changes? Date: Tue, 02 Apr 2013 23:08:32 +0200 Message-ID: <87k3ok8wtr.fsf@web.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364936937 9192 80.91.229.3 (2 Apr 2013 21:08:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Apr 2013 21:08:57 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 02 23:09:21 2013 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 1UN8SD-0006sB-Rp for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 23:09:17 +0200 Original-Received: from localhost ([::1]:55827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN8Rp-0005D7-2k for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 17:08:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN8RZ-00058X-0V for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 17:08:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN8RY-00038u-3J for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 17:08:36 -0400 Original-Received: from mout.web.de ([212.227.15.4]:63624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN8RX-00038Z-Ql for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 17:08:36 -0400 Original-Received: from drachen.dragon ([92.74.136.91]) by smtp.web.de (mrweb002) with ESMTPSA (Nemesis) id 0MRl2f-1UBopk1Yj3-00Sbnx; Tue, 02 Apr 2013 23:08:33 +0200 Mail-Followup-To: help-gnu-emacs@gnu.org, help-gnu-emacs@gnu.org In-Reply-To: (Steven Degutis's message of "Tue, 2 Apr 2013 14:15:20 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V02:K0:p9x0I0Xr/0qU5n1OMVsGzLgvrfH1v3DFiRXVf0GjrJ0 WukXB8RUicB2qIZNbTqq7R9Dj7U0oe1GQX4Te7XBIxUbrEI17Z v3ZN3/bZNGsqkxR/cVn8zy5QbGg9U+LQF2U+8EmE/sA6OQUPh7 DPkSh0P6YjDY6PSfxwJaA75wGt7C5EAdNCIeg5Q19Zv/cm6d7X evTv/p/W881qbV2DipXiBGZmxvQkzU1yZ2NVERcDt0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.4 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:89908 Archived-At: Steven Degutis 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. No, `mouse-set-point' is called. > Maybe I can use the same hook modeline uses to know how to color > itself active or inactive? What do you want to do, at the end? Regards, Michael.