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: Is there a hook when current window or buffer changes? Date: Tue, 2 Apr 2013 14:15:20 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b676288f7f46704d9658e88 X-Trace: ger.gmane.org 1364930138 3359 80.91.229.3 (2 Apr 2013 19:15:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Apr 2013 19:15:38 +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 21:16:06 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 1UN6gf-0006Ya-RO for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 21:16:05 +0200 Original-Received: from localhost ([::1]:50551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN6gH-0000Q2-1b for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 15:15:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN6g3-0000MT-Ab for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 15:15:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN6fx-0006Sr-C2 for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 15:15:27 -0400 Original-Received: from mail-pa0-f45.google.com ([209.85.220.45]:62436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN6fx-0006SU-1n for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 15:15:21 -0400 Original-Received: by mail-pa0-f45.google.com with SMTP id kl13so461117pab.18 for ; Tue, 02 Apr 2013 12:15:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=Oc2irePauNyF+SVjyj+OIQE7j1iha4t74ZQ2vQIZXrc=; b=M3nvWbtQwEJCV+HWZ+g/7HLbfJAKivqUBXDvoWBB/XJUHXY1s8d8atPKdIHTX18tZi /eN1TxmYvPCW/EhrQ19QiPCTvsZCTiaSShZF+YXM1G2WGFPJJt9qhZLsuRxT/S/RzmBz Ee/FVEI3lG4VmLv5OoHqAWeLIJCNgAOgTf2zRW5pdLqiRe27LYrohu2e0iR9r+axstaN 01am+T0g0rsYfl4g3zhXeJxxfvVUin1ewOzme8ptIfw3cnN2T6Sya00mUdHtH+M+kafX CIGIsDTbERP6ckZ2Jg9YZsfFNkLhy5XcsDG/EUt4DVr1cxqJEWRsTpWl018tQZD/6+4g nkrQ== X-Received: by 10.68.180.227 with SMTP id dr3mr25812916pbc.56.1364930120379; Tue, 02 Apr 2013 12:15:20 -0700 (PDT) Original-Received: by 10.70.30.35 with HTTP; Tue, 2 Apr 2013 12:15:20 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.220.45 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:89905 Archived-At: --047d7b676288f7f46704d9658e88 Content-Type: text/plain; charset=ISO-8859-1 Advising functions is limited. For example, if you select a window with your mouse, no function is called interactively, it just changes the window. Maybe I can use the same hook modeline uses to know how to color itself active or inactive? -Steven --047d7b676288f7f46704d9658e88 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Advising functions is limited. For example, if you select = a window with your mouse, no function is called interactively, it just chan= ges the window.

Maybe I can use the same hook modeline u= ses to know how to color itself active or inactive?

-Steven
--047d7b676288f7f46704d9658e88--