|
From: | Alexis |
Subject: | Re: master 1be349c 1/2: * lisp/emacs-lisp/package.el: Define custom faces |
Date: | Thu, 10 Sep 2015 21:31:26 +1000 |
Oleh Krehel <address@hidden> writes:
Is it actually a good idea not end with "-face"? I do it for all my packages. And the reason is a very good one: I get completion (completion-at-point, apropos, git-grep, CEDET tags, whatever) for faces with "package-prefix.*-face". It's useful to distinguish the face symbols from the variable symbols.
Agreed. In my `picolisp-mode` package, i have a defface `picolisp-global-variable-face`, i.e. the face used for PicoLisp global variables. i feel that dropping '-face' from this wouldn't provide any concrete benefits to me or my users, and indeed, would prevent the sort of useful actions you describe.
Alexis.
[Prev in Thread] | Current Thread | [Next in Thread] |