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: Sat, 25 Jun 2011 16:00:48 +0000 (UTC) Message-ID: References: <20110623175236.0cfa498d@gauss> <20110624214724.3f43a308@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 1309018505 4542 80.91.229.12 (25 Jun 2011 16:15:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2011 16:15:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 25 18:14:59 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 1QaVVa-0000BE-RU for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jun 2011 18:14:58 +0200 Original-Received: from localhost ([::1]:59103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaVVa-0005GY-3S for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jun 2011 12:14:58 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaVIB-0002Hr-FQ for help-gnu-emacs@gnu.org; Sat, 25 Jun 2011 12:01:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QaVI9-0001Gc-QE for help-gnu-emacs@gnu.org; Sat, 25 Jun 2011 12:01:07 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:38039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaVI9-0001GU-CZ for help-gnu-emacs@gnu.org; Sat, 25 Jun 2011 12:01:05 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QaVI6-0002xX-AI for help-gnu-emacs@gnu.org; Sat, 25 Jun 2011 18:01:02 +0200 Original-Received: from 66-44-6-91.c3-0.grg-ubr1.lnh-grg.md.cable.rcn.com ([66.44.6.91]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Jun 2011 18:01:02 +0200 Original-Received: from alp.tekin.aker by 66-44-6-91.c3-0.grg-ubr1.lnh-grg.md.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Jun 2011 18:01:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 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: 66.44.6.91 (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:81438 Archived-At: Joe Riel wrote: > It only has to be unique to a buffer. Here's a simpler variant on your > scheme that does precisely what I want: > > (make-local-variable 'face-remapping-alist) > (setq face-remapping-alist > '((mode-line-inactive :foreground "black" :background "yellow"))) > > Thanks again for the ideas, they helped. That's a nice solution, better than either of mine. (Be aware that it's not supported on v22, though.)