From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steven Degutis Newsgroups: gmane.emacs.help Subject: Re: Is there a hook when current window or buffer changes? Date: Tue, 2 Apr 2013 16:28:47 -0500 Message-ID: References: <87k3ok8wtr.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ffbad57400c7604d9676cde X-Trace: ger.gmane.org 1364938143 21703 80.91.229.3 (2 Apr 2013 21:29:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Apr 2013 21:29:03 +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 Apr 02 23:29:31 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 1UN8ll-0003KH-GE for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 23:29:29 +0200 Original-Received: from localhost ([::1]:36820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN8lM-0002pG-RQ for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 17:29:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN8l9-0002pA-ID for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 17:28:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN8l6-0000yL-UH for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 17:28:51 -0400 Original-Received: from mail-pb0-f48.google.com ([209.85.160.48]:59468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN8l6-0000y8-LI for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 17:28:48 -0400 Original-Received: by mail-pb0-f48.google.com with SMTP id xb4so459278pbc.35 for ; Tue, 02 Apr 2013 14:28:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=E74+8rCo2en7ieF2z3SU9MwNZ2i+R0Ey9Rr9/0+xXpE=; b=GM/QR2nU7+OnDTYApfgf9XNQY9X5ypEYabEz27J/SyETn3HnrLp365/mSd6TBqc0DB +UMA2YGrGZLw32DIUC7EOzsJOeSnmtQjmNJoKOGvU8etnbkRLILGonb4ukfdkwHAhMvu qR5Hxy0blHdvVKJhRT7hlxoHPUv+yAUXQzGHPUte53Ra+G8tVI4Z/9ifccZZ1i4KHik4 0SSUwip7LUdugHOYjm79P6hTcocJYHK8qnI4fS/2Por6emeHaFaPhaq5rdb2YYEpTjHO KjMgNrLkXq9MEHn6CerTGKmpi2159eLxdoQIqNaJlG0pqRVHTWWJd6AmqT7jKZk96Xhe c9AA== X-Received: by 10.68.135.168 with SMTP id pt8mr26544355pbb.10.1364938127836; Tue, 02 Apr 2013 14:28:47 -0700 (PDT) Original-Received: by 10.70.30.35 with HTTP; Tue, 2 Apr 2013 14:28:47 -0700 (PDT) In-Reply-To: <87k3ok8wtr.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.48 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:89910 Archived-At: --e89a8ffbad57400c7604d9676cde Content-Type: text/plain; charset=ISO-8859-1 I created a thread `auto-dim-other-windows` about it. -Steven On Tue, Apr 2, 2013 at 4:08 PM, Michael Heerdegen wrote: > 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. > > --e89a8ffbad57400c7604d9676cde Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I created a thread `auto-dim-other-windows` about it.
=
-Steven


On Tue, Apr 2, 2013 at 4:08 PM, Michael Heerdegen <michael_heerdegen@web.de> wrote:
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<= br> > 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.


--e89a8ffbad57400c7604d9676cde--