From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Riel Newsgroups: gmane.emacs.help Subject: Re: Distinguish inactive windows Date: Thu, 23 Jun 2011 22:38:25 -0700 Organization: Maplesoft Message-ID: <20110623223825.6e1ce6ca@gauss> 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 1308897549 1397 80.91.229.12 (24 Jun 2011 06:39:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Jun 2011 06:39:09 +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 08:39:00 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 1Qa02d-0008Ak-L9 for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Jun 2011 08:38:59 +0200 Original-Received: from localhost ([::1]:59745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qa02c-0000rR-F4 for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Jun 2011 02:38:58 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZz6F-0001Cn-8Y for help-gnu-emacs@gnu.org; Fri, 24 Jun 2011 01:38:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZz6D-0003XU-Tr for help-gnu-emacs@gnu.org; Fri, 24 Jun 2011 01:38:39 -0400 Original-Received: from icw8kmai01.maplesoft.com ([199.71.183.105]:15854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZz6D-0003XO-N6 for help-gnu-emacs@gnu.org; Fri, 24 Jun 2011 01:38:37 -0400 Original-Received: from gauss (10.10.50.13) by ICW8KMAI01.maplesoft.com (10.10.1.105) with Microsoft SMTP Server (TLS) id 8.1.436.0; Fri, 24 Jun 2011 01:39:10 -0400 In-Reply-To: X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.4; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Windows XP/2000 (RFC1323+, w+, tstamp-) X-Received-From: 199.71.183.105 X-Mailman-Approved-At: Fri, 24 Jun 2011 02:31:03 -0400 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:81420 Archived-At: On Fri, 24 Jun 2011 02:51:41 +0000 (UTC) Alp Aker wrote: > 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. Thanks for both ideas, I'll see which I prefer. I'm already customizing the mode-line, but the overlay is simple to implement. -- Joe Riel