emacs-devel
[Top][All Lists]
Advanced

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

Re: Face color changes


From: Kevin Rodgers
Subject: Re: Face color changes
Date: Mon, 03 Jan 2005 11:17:36 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Richard Stallman wrote:
>     Er, if by "that", you mean "overwrite all specs with a single case",
> that's the _current_ behavior[1] (and has been the the behavior for as
>     long as I can remember[2]).
>
> Yes, but I think it is a drastic thing to do--to discard all the other
> conditional alternatives that the user doesn't even know about.  The
> user probably meant the customization to replace the behavior he saw.

It's drastic, but it's basically the same thing that happens for
variables.  E.g. customizing this variable loses all of the logic
behind its value:

(defcustom foo
  (cond ((fboundp 'some-function) ...)
        ((featurep 'some-feature) ...)
        ((eq system-type 'some-system) ...)
        ((some-arbitrary-test) ...)
        (t ...)))

Since faces have conditional specs, should variables have specs (vs.
just lisp object values) as well?

--
Kevin Rodgers





reply via email to

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