From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Different text/properties in active vs inactive mode line Date: Sun, 01 May 2011 03:49:38 -0400 Message-ID: References: <20110501004651.38B025101F9@outside.256.com> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1304236190 9815 80.91.229.12 (1 May 2011 07:49:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 1 May 2011 07:49:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 01 09:49:46 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 1QGRPW-0004H0-0e for geh-help-gnu-emacs@m.gmane.org; Sun, 01 May 2011 09:49:46 +0200 Original-Received: from localhost ([::1]:44491 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGRPV-0001gY-KS for geh-help-gnu-emacs@m.gmane.org; Sun, 01 May 2011 03:49:45 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGRPP-0001gR-Uj for help-gnu-emacs@gnu.org; Sun, 01 May 2011 03:49:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGRPO-0004lI-UB for help-gnu-emacs@gnu.org; Sun, 01 May 2011 03:49:39 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:55687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGRPO-0004lE-R6 for help-gnu-emacs@gnu.org; Sun, 01 May 2011 03:49:38 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QGRPO-000405-I2 for help-gnu-emacs@gnu.org; Sun, 01 May 2011 03:49:38 -0400 In-reply-to: <20110501004651.38B025101F9@outside.256.com> (sdn.gnuem@mailnull.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:80889 Archived-At: > From: sdn.gnuem@mailnull.com > Date: Sat, 30 Apr 2011 20:46:51 -0400 (EDT) > > I appreciate your help so far, Eli, but I confess I am still not > seeing all the way to the end yet. That's okay, since I have no clear idea about what exactly you are after, either. > So I do not understand what you are suggesting I compare > to selected-window in order to determine which face to use. In the code that adds whatever you want to the mode line, compare the window with the value returned by `selected-window'.