bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Improvement Suggestion: Faces in Buffer Menu (patch included)


From: Kevin Rodgers
Subject: Re: Improvement Suggestion: Faces in Buffer Menu (patch included)
Date: Mon, 19 Nov 2001 11:22:15 -0700

Yong Lu wrote:
> I find it a bit easier to locate buffers in the electric-buffer-list
> and list-buffers buffer, if buffer names are displayed in different
> faces according to their major modes.  For example, html helper mode
> buffers are displayed with pink foreground in the list, etc.  So I
> think it would be a good idea to add support for this.
> 
> I have made a little patch to buff-menu.el for this.  It doesn't break
> anything, so if you don't like fancy faces, you won't be affected by
> it.

Very nice!  I'd like to suggest that the buff-menu-faces alist be keyed by
major-mode (e.g. 'html-mode) instead of mode-name (e.g. "HTML").

> The defcustom part of the patch is a bit clumsy, though.  Because
> I don't know how to specify the plist format and restrict the elements
> to face attributes.  Hope somebody can fix it and make it into the
> source tree.

Sorry, I can't help you there.

-- 
Kevin Rodgers <kevinr@ihs.com>



reply via email to

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