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:10:49 -0700 Message-ID: <00a301c8cd91$930576e0$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 1213388025 9562 80.91.229.12 (13 Jun 2008 20:13:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2008 20:13:45 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 13 22:14:28 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 1K7FfB-0001gO-Ef for ged-emacs-devel@m.gmane.org; Fri, 13 Jun 2008 22:14:21 +0200 Original-Received: from localhost ([127.0.0.1]:52172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7FeN-0003vg-IH for ged-emacs-devel@m.gmane.org; Fri, 13 Jun 2008 16:13:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7FdJ-0002e6-JK for emacs-devel@gnu.org; Fri, 13 Jun 2008 16:12:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7FdH-0002bf-JI for emacs-devel@gnu.org; Fri, 13 Jun 2008 16:12:24 -0400 Original-Received: from [199.232.76.173] (port=43437 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7FdH-0002bT-Cq for emacs-devel@gnu.org; Fri, 13 Jun 2008 16:12:23 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:44709) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K7FdH-0003Uc-1B for emacs-devel@gnu.org; Fri, 13 Jun 2008 16:12:23 -0400 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m5DKCKZh029083 for ; Fri, 13 Jun 2008 14:12:20 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m5DKCJvw029737 for ; Fri, 13 Jun 2008 14:12:19 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com with ESMTP id 3693391601213387845; Fri, 13 Jun 2008 13:10:45 -0700 Original-Received: from dradamslap1 (/24.5.171.3) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 13 Jun 2008 13:10:45 -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:99143 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.)