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: RE: header-line and mode-line faces Date: Sat, 14 Jun 2008 09:46:50 -0700 Message-ID: <00bd01c8ce3e$3e949c00$0200a8c0@us.oracle.com> References: <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 1213462121 13757 80.91.229.12 (14 Jun 2008 16:48:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Jun 2008 16:48:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Eli Zaretskii'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 14 18:49:25 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 1K7YwN-0000bc-OM for ged-emacs-devel@m.gmane.org; Sat, 14 Jun 2008 18:49:24 +0200 Original-Received: from localhost ([127.0.0.1]:51983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7YvZ-00008n-45 for ged-emacs-devel@m.gmane.org; Sat, 14 Jun 2008 12:48:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7YvV-00008W-8Z for emacs-devel@gnu.org; Sat, 14 Jun 2008 12:48:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7YvT-00008H-Bo for emacs-devel@gnu.org; Sat, 14 Jun 2008 12:48:28 -0400 Original-Received: from [199.232.76.173] (port=44048 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7YvT-00008E-9I for emacs-devel@gnu.org; Sat, 14 Jun 2008 12:48:27 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]:17453) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K7YvP-0000wH-2U; Sat, 14 Jun 2008 12:48:23 -0400 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m5EGmJEs021233; Sat, 14 Jun 2008 11:48:19 -0500 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m5EGaBNU007032; Sat, 14 Jun 2008 10:48:19 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com with ESMTP id 3694284151213462005; Sat, 14 Jun 2008 09:46:45 -0700 Original-Received: from dradamslap1 (/24.5.171.3) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 14 Jun 2008 09:46:45 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcjOBpXlzqGKzWWZSlubSjoi4xBaYQANtL/w 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:99186 Archived-At: > > I don't think that is a good idea. The default value should > > just inherit from face `mode-line'. > I don't see why. Please explain more. Uh, so you can customize just the mode-line face and have the header-line face reflect the change. > > Users should be able to customize face `mode-line' and have face > > `header-line' follow suite. > > Why? they are different faces used for different portions of display. > They should be different by default so people could easily tell one > from the other. They are different faces, and you can also customize them separately. But header-line inherits from mode-line *today*. Why? Inheritance provides convenience - these two faces are different, and have different uses, but they have similarities. It's about convenience. Inheritance by default never prevents anyone from customizing them separately.