From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: header-line and mode-line faces Date: Fri, 13 Jun 2008 13:08:20 -0700 Message-ID: <00a201c8cd91$5a149730$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213388130 9905 80.91.229.12 (13 Jun 2008 20:15:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2008 20:15:30 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 13 22:16:14 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K7Fgz-0002La-EH for ged-emacs-devel@m.gmane.org; Fri, 13 Jun 2008 22:16:13 +0200 Original-Received: from localhost ([127.0.0.1]:34151 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7FgB-0006Xb-Gk for ged-emacs-devel@m.gmane.org; Fri, 13 Jun 2008 16:15:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7FdK-0002fG-Il for emacs-devel@gnu.org; Fri, 13 Jun 2008 16:12:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7FdI-0002cs-Oe for emacs-devel@gnu.org; Fri, 13 Jun 2008 16:12:26 -0400 Original-Received: from [199.232.76.173] (port=43440 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7FdI-0002ce-IK for emacs-devel@gnu.org; Fri, 13 Jun 2008 16:12:24 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:44714) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K7FdI-0003Uv-2W for emacs-devel@gnu.org; Fri, 13 Jun 2008 16:12:24 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m5DKCMV3029119 for ; Fri, 13 Jun 2008 14:12:23 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m5DBs5fG015111 for ; Fri, 13 Jun 2008 14:12:22 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3694147811213387898; Fri, 13 Jun 2008 13:11:38 -0700 Original-Received: from dradamslap1 (/24.5.171.3) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 13 Jun 2008 13:09:10 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcjNkTmTdFZaAB11QYiF0L/CVItsiQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:99145 Archived-At: Here is the default definition of face `header-line': Attributes: [ ] Font Family: * [ ] Width: * [ ] Height: * [ ] Weight: * [ ] Slant: * [ ] Underline: * [ ] Overline: * [ ] Strike-through: * [ ] Box around text: * [ ] Inverse-video: * [ ] Foreground: * [ ] Background: * [ ] Stipple: * [X] Inherit: INS DEL Face: (sample) mode-line INS Overriding Attributes: [ ] Font Family: * [ ] Width: * [ ] Height: * [ ] Weight: * [ ] Slant: * [ ] Underline: * [ ] Overline: * [ ] Strike-through: * [X] Box around text: Value Menu Off [ ] Inverse-video: * [X] Foreground: grey20 (sample) [X] Background: grey90 (sample) [ ] Stipple: * [ ] Inherit: * I don't think that is a good idea. The default value should just inherit from face `mode-line'. Users should be able to customize face `mode-line' and have face `header-line' follow suite. At least the foreground and background should simply be inherited - see next wrt boxing. I also think the default for face `mode-line' should not be boxed (and therefore no reason for `header-line' to override this), but that is a different issue. (I have the feeling that the boxed mode line came into being just because boxing became a new possibility.)