On Sat, 26 Aug 2006 18:15:08 -0700 "Drew Adams" <[EMAIL PROTECTED]> wrote:
> It would be better to define a face `hl-line' than to have option
> `hl-line-face', whose value must be an existing face. It's easier for
> users to tweak a face definition than it is for them to find an
> appropriate face ready-made, especially for something like this, which
> is fairly intrusive. To get something else, they are obliged to define
> a face themselves, which requires knowledge of Lisp.
It appears this request was implemented by this change:
2006-08-29 Chong Yidong <[EMAIL PROTECTED]>
* hl-line.el (hl-line): New face.
(hl-line-face): Use it.
But instead of replacing hl-line-face, hl-line was made the default
value of hl-line-face. But both can be set independently, and when
they differ, hl-line-face is what is actually used by hl-line-mode.
What advantage does this possibility have? It seems at least
potentially confusing. Why not simply have hl-line-face defalias'd to
hl-line? Wouldn't that suffice for backward compatibility (assuming
that was the reason for retaining hl-line-face)?
Steve Berman
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug