From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: Mode line faces on ttys Date: Wed, 17 Aug 2005 17:25:01 +0200 Organization: orebokech dot com Message-ID: <87wtmksi0i.fsf@pacem.orebokech.com> References: <878xz0u3ib.fsf@pacem.orebokech.com> <87u0hoipt5.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1124292715 13246 80.91.229.2 (17 Aug 2005 15:31:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Aug 2005 15:31:55 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 17 17:31:51 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E5PsJ-00086j-HG for ged-emacs-devel@m.gmane.org; Wed, 17 Aug 2005 17:30:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5Pvm-0002Jp-MR for ged-emacs-devel@m.gmane.org; Wed, 17 Aug 2005 11:34:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E5PuF-0001xc-GI for emacs-devel@gnu.org; Wed, 17 Aug 2005 11:32:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E5Pu5-0001t2-LU for emacs-devel@gnu.org; Wed, 17 Aug 2005 11:32:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5Pu4-0001pA-2m for emacs-devel@gnu.org; Wed, 17 Aug 2005 11:32:32 -0400 Original-Received: from [82.67.41.165] (helo=yeast.orebokech.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E5Q27-0003xz-F8 for emacs-devel@gnu.org; Wed, 17 Aug 2005 11:40:51 -0400 Original-Received: from pacem.orebokech.com (pacem.orebokech.com [192.168.1.3]) by yeast.orebokech.com (Postfix) with ESMTP id 0F68012F83; Wed, 17 Aug 2005 17:24:34 +0200 (CEST) Original-Received: by pacem.orebokech.com (Postfix, from userid 1000) id 403FB5239A; Wed, 17 Aug 2005 17:25:01 +0200 (CEST) Original-To: Juri Linkov X-Face: }9mYu,e_@+e!`Z-P5kVXa3\_b:hdJ"B)ww[&=b<2=awG:GOIM (Juri Linkov's message of "Wed, 17 Aug 2005 17:46:46 +0300") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:42184 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:42184 Juri Linkov writes: > This is correct. Since mode-line has the non-nil :inverse-video > attribute, its foreground and background colors should be inverted. I see, thanks for the explanation. It's somewhat confusing that setting the face foreground actually changes the background on ttys--I understand the logic, but it's surprising. How are application writers supposed to handle this if they want the mode line to "look similar" in X and on ttys? Use `face-inverse-video-p' to invert values if needed? > Since this change causes questions, maybe it should be mentioned in > etc/NEWS? Definitely. -- Romain Francoise | I used to think there is no it's a miracle -- http://orebokech.com/ | future left at all.