From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.devel Subject: Re: The color of a header line and window selection. Date: Fri, 26 Sep 2003 00:09:52 +0200 Organization: CWI, Amsterdam Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064527863 32069 80.91.224.253 (25 Sep 2003 22:11:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2003 22:11:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Sep 26 00:11:01 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A2eKD-0002bK-00 for ; Fri, 26 Sep 2003 00:11:01 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A2eRZ-00047m-00 for ; Fri, 26 Sep 2003 00:18:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A2eJo-0004C5-Q7 for emacs-devel@quimby.gnus.org; Thu, 25 Sep 2003 18:10:36 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A2eJC-00044j-BU for emacs-devel@gnu.org; Thu, 25 Sep 2003 18:09:58 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A2eJA-000446-55 for emacs-devel@gnu.org; Thu, 25 Sep 2003 18:09:56 -0400 Original-Received: from [192.16.191.8] (helo=hera.cwi.nl) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A2eJ7-000431-UN; Thu, 25 Sep 2003 18:09:54 -0400 Original-Received: from occarina.pna.cwi.nl (occarina.pna.cwi.nl [192.16.184.200]) by hera.cwi.nl with ESMTP id h8PM9qWE018150 for ; Fri, 26 Sep 2003 00:09:52 +0200 (MEST) Original-Received: (from lute@localhost) by occarina.pna.cwi.nl (8.12.8/8.12.5) id h8PM9q4H007627; Fri, 26 Sep 2003 00:09:52 +0200 X-Authentication-Warning: occarina.pna.cwi.nl: lute set sender to Lute.Kamstra@cwi.nl using -f Original-To: Miles Bader In-Reply-To: (Miles Bader's message of "25 Sep 2003 18:29:53 +0900") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Original-Lines: 28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16641 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16641 Miles Bader writes: > Lute Kamstra writes: > >> Under X, in a frame with multiple windows, the mode line of the >> selected window will be darker than the mode lines of the other >> windows. A header line, however, always has the light color. Is >> there a reason why the header line should behave differently? > > I suppose it's because people think of the mode-line as being a sort > of `frame', but the header-line as being basically part of the > buffer... Actually, the light color of the header-line is identical to the color of the menus and the toolbar. To me, this makes the header line appear as a part of the frame. I would prefer that the header line behaves like the mode line in that it has the same color for a selected window. If people don't like this idea, it still may be a good idea to offer users the opportunity to do this. As is stands now, there are two standard faces for the mode line (`mode-line' and `mode-line-inactive') and just one face for the header line (`header-line'). We could introduce the face `header-line-inactive' and use it to color the header line of non-selected windows and use `header-line' for selected windows only. Lute.