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: Thu, 29 Dec 2005 03:23:19 +0200 Organization: JURTA Message-ID: <87acekpoho.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 1135828449 17416 80.91.229.2 (29 Dec 2005 03:54:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Dec 2005 03:54:09 +0000 (UTC) Cc: rudalics@gmx.at, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 29 04:54: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 1ErorW-0006sf-MT for ged-emacs-devel@m.gmane.org; Thu, 29 Dec 2005 04:53:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Erosr-0003Yd-JY for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2005 22:55:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eros1-0003Bp-7z for emacs-devel@gnu.org; Wed, 28 Dec 2005 22:54:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eros0-0003BW-JG for emacs-devel@gnu.org; Wed, 28 Dec 2005 22:54:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eros0-0003BQ-H3 for emacs-devel@gnu.org; Wed, 28 Dec 2005 22:54:28 -0500 Original-Received: from [194.126.101.98] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ErosE-0002F4-CJ; Wed, 28 Dec 2005 22:54:42 -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 ADEABCF22; Thu, 29 Dec 2005 05:53:19 +0200 (EET) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Wed, 28 Dec 2005 17:48:07 -0500") 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:48475 Archived-At: > `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. > > What is the face `Buffer-menu-buffer' used for? Where does it appear? > Its documentation is quite unclear, and I would like to clear it up, but > first I need to understand. (Maybe its name should be changed too.) The main purpose of `Buffer-menu-buffer' is to highlight buffer names in the *Buffer List* buffer (since it is defined in buff-menu.el). But the same face is also used to highlight buffer names in the mode line. There should be a special separate face for the mode line. What would be a good name for it? `mode-line-buffer'? This is too specific. `mode-line-bold'? This name might become untrue when customized to something else. There are modes that could use this new face. For example, info.el highlights in bold only the Info buffer name which is not quite important. But the Info node name in the mode line (which is more important than the Info buffer name) is not highlighted. This new face could be used to highlighted the Info node name in the mode line as well. -- Juri Linkov http://www.jurta.org/emacs/