emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Customizing faces with `defcustom'


From: Richard M. Stallman
Subject: Re: Customizing faces with `defcustom'
Date: Thu, 29 Dec 2005 21:17:29 -0500

    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.

It seems like bad design to use the same face for both.

    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-buffer' would be a good name for a face used only to
highlight buffer names.  But if we want something a little
more general, how about `mode-line-emphasis'?

    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.

Let's use `mode-line-emphasis' for that too.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]