From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Customizing faces with `defcustom' Date: Wed, 28 Dec 2005 17:57:07 +0200 Organization: JURTA Message-ID: <87irt9cj0o.fsf@jurta.org> References: <43103F48.1020804@gmx.at> <4313F4CB.10200@gmx.at> <4375A332.6070000@gmx.at> <87fyperhgd.fsf@jurta.org> <438D5913.7030801@gmx.at> <43ABFA5C.2080302@gmx.at> <87y82afehi.fsf@jurta.org> <43B01C54.2040005@gmx.at> <87oe32fmt0.fsf@jurta.org> <43B26315.20005@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1135789628 21409 80.91.229.2 (28 Dec 2005 17:07:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Dec 2005 17:07:08 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 28 18:07:07 2005 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ErelP-0007uQ-Pk for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2005 18:07:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eremi-0003rE-59 for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2005 12:08:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Erdld-0006O5-6d for emacs-devel@gnu.org; Wed, 28 Dec 2005 11:03:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Erdlb-0006Nc-V6 for emacs-devel@gnu.org; Wed, 28 Dec 2005 11:03:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Erdlb-0006NT-8b for emacs-devel@gnu.org; Wed, 28 Dec 2005 11:03:07 -0500 Original-Received: from [194.126.101.98] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Erdlj-0000mt-LA; Wed, 28 Dec 2005 11:03:15 -0500 Original-Received: from mail.neti.ee (80-235-38-206-dsl.mus.estpak.ee [80.235.38.206]) by Relayhost1.neti.ee (Postfix) with ESMTP id 7F5B7CE77; Wed, 28 Dec 2005 18:01:59 +0200 (EET) Original-To: martin rudalics In-Reply-To: <43B26315.20005@gmx.at> (martin rudalics's message of "Wed, 28 Dec 2005 11:04:05 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:48429 Archived-At: >> However, there is another similar face that is used to highlight text in >> the mode line: `Buffer-menu-buffer'. We could create a new group >> `modeline-faces' and add all modeline-related faces to this new group. >> The faces that could be added to `modeline-faces' are: >> >> Buffer-menu-buffer >> display-time-mail-face >> mode-line-highlight >> mode-line-inactive >> mode-line > > The question is whether the corresponding faces should be simultaneously > removed from the `basic-faces' group. If they are removed where should > `header-line' - which inherits from `mode-line' - go to? In this case I think the corresponding faces should not be removed from the `basic-faces' group. Only their group `modeline' could be replaced with `modeline-faces'. >> Or alternatively, add `Buffer-menu-buffer' and `display-time-mail-face' to >> the existing group `modeline' (where three latter faces from the list above >> already belong to), and add the parent group `faces' to the group `modeline'. > > `Buffer-menu-buffer' should definitely figure in the modeline group. > When I first tried to customize the modeline, `Buffer-menu-buffer' was > hard to spot and very undescriptive. Since `display-time' is already > part of the modeline group I'd simply remove `display-time-mail-face' I agree. Unless a new special face group `modeline-faces' will be created, `display-time-mail-face' should be removed from the group `modeline'. -- Juri Linkov http://www.jurta.org/emacs/