|
From: | Drew Adams |
Subject: | bug#11095: [PATCH] Re: bug#11095: 24.0.94; hi-lock-face-buffer/unhighlight-regexp': Augment? |
Date: | Thu, 6 Dec 2012 11:36:02 -0800 |
> > (defcustom hi-lock-face-defaults > > '(hi-yellow hi-pink hi-green hi-blue hi-black-b > > hi-blue-b hi-red-b hi-green-b hi-black-hb) > > "Default faces for hi-lock interactive functions." > > :type '(repeat face) > > :group 'hi-lock-faces) > > I think it'd be important to make it possible/easy for the user to add > new faces of his own creation in there. So we'd need a :setter that > creates those faces as needed. The code still defines and uses faces named for colors. Bad idea. There is no need for that, and nothing gained by it. Look at the doc for each of those faces - it should give you a clue. It says only that this is a face for hi-lock mode. It says nothing about the color that is in the name, and rightfully so. The default color used to define the face is irrelevant to the use/meaning/purpose of the face. These faces should be renamed. If you need a separate bug report for that I will be glad to file it.
[Prev in Thread] | Current Thread | [Next in Thread] |