From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sdn.gnuem@mailnull.com Newsgroups: gmane.emacs.help Subject: Different text/properties in active vs inactive mode line Date: Sat, 30 Apr 2011 09:17:51 -0400 (EDT) Message-ID: <20110430131751.4BE78510426@outside.256.com> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1304170981 16933 80.91.229.12 (30 Apr 2011 13:43:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 30 Apr 2011 13:43:01 +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 Apr 30 15:42:57 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 1QGARj-0006Bt-Qs for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Apr 2011 15:42:55 +0200 Original-Received: from localhost ([::1]:37235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGARj-0000Is-AI for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Apr 2011 09:42:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGA3V-0005BG-Aa for help-gnu-emacs@gnu.org; Sat, 30 Apr 2011 09:17:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGA3U-0006wT-B5 for help-gnu-emacs@gnu.org; Sat, 30 Apr 2011 09:17:53 -0400 Original-Received: from outside.256.com ([72.93.100.124]:61576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGA3U-0006wO-7c for help-gnu-emacs@gnu.org; Sat, 30 Apr 2011 09:17:52 -0400 Original-Received: by outside.256.com (Postfix, from userid 33) id 4BE78510426; Sat, 30 Apr 2011 09:17:51 -0400 (EDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 72.93.100.124 X-Mailman-Approved-At: Sat, 30 Apr 2011 09:42:44 -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:80880 Archived-At: Hello all, I've been searching, but haven't found an answer yet. Is it possible to add something to the mode line format that changes its appearance depending on whether the window is active or not? I have some colorized (propertized) status elements on my mode line. They look fine when shown on the active mode line, against the 'mode-line' face. But they look garish when shown on the inactive mode line, against the 'mode-line-inactive' face. I've been delving into the emacs lisp code to figure out how the mode line decides to display in mode-line or mode-line-inactive face, but so far I've come up empty. Any help? Thanks in advance, -- Sue D. Nymme ---------- This message was sent from a MailNull anti-spam account. You can get your free account and take control over your email by visiting the following URL. http://mailnull.com/