From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alp Aker Newsgroups: gmane.emacs.help Subject: Re: Distinguish inactive windows Date: Fri, 24 Jun 2011 02:51:41 +0000 (UTC) Message-ID: References: <20110623175236.0cfa498d@gauss> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308884027 3078 80.91.229.12 (24 Jun 2011 02:53:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Jun 2011 02:53:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 24 04:53:43 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QZwWd-0004kl-CB for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Jun 2011 04:53:43 +0200 Original-Received: from localhost ([::1]:41380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZwWc-0001aE-FP for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jun 2011 22:53:42 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZwUu-0001Zj-3Y for help-gnu-emacs@gnu.org; Thu, 23 Jun 2011 22:51:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZwUs-0007vE-U0 for help-gnu-emacs@gnu.org; Thu, 23 Jun 2011 22:51:55 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:40628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZwUs-0007v7-HE for help-gnu-emacs@gnu.org; Thu, 23 Jun 2011 22:51:54 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QZwUp-0003rf-Rd for help-gnu-emacs@gnu.org; Fri, 24 Jun 2011 04:51:51 +0200 Original-Received: from pool-72-95-250-103.pitbpa.east.verizon.net ([72.95.250.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Jun 2011 04:51:51 +0200 Original-Received: from alp.tekin.aker by pool-72-95-250-103.pitbpa.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Jun 2011 04:51:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 9 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 72.95.250.103 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_5) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.100 Safari/534.30) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:81418 Archived-At: I just thought of another, potentially much simpler expedient, one which will work for a particular window. You can use an overlay to put a light shading over the contents of the window. E.g., (setq o (make-overlay (window-start w) (window-end w t))) (overlay-put o 'face '(:background "gray97")) where `w' is the window of interest.