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

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

Re: delphi-other-face mismatch


From: Juri Linkov
Subject: Re: delphi-other-face mismatch
Date: Tue, 30 Aug 2005 01:44:28 +0300
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>     `delphi.el' has nil mismatch in:
>
>     (defcustom delphi-other-face nil
>        "*Face used to color everything else."
>        :type 'face
>        :group 'delphi)
>
> The simplest fix would be to specify a non-nil default.
> Would someone who has a feel for choosing faces
> please do that?

There are other customizable face-valued variables (e.g. `locate-header-face'
in locate.el) which have mismatched nil default values.  Adding a construct
like `(choice (const :tag "None" nil) face)' only to variables with nil
default values doesn't help, because users might want to set to nil those
face variables whose default value is not nil.  How users can do this?
Setting the value to the face `default' (which produces the desirable
visual effect) is not exactly the same as a nil value.

Maybe customize should interpret an empty face input field as a nil
value?  (Currently it signals an error "Invalid face: " in this case.)

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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