[Top][All Lists]

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

Re: reducing defface redundancy

From: Per Abrahamsen
Subject: Re: reducing defface redundancy
Date: Sun, 21 Apr 2002 11:12:52 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (sparc-sun-solaris2.8)

"Eli Zaretskii" <address@hidden> writes:

>> From: Per Abrahamsen <address@hidden>
>> Date: Sat, 20 Apr 2002 17:59:41 +0200
>> It is really easy to invent all kinds of smart stuff to the defface
>> spec at the Lisp level.  Comming up with good UI is way harder.
> Sorry, I don't understand: what UI?  defface is not a user-level
> feature, it's a programmer feature.

The primary purpose of defface is to give customize-face something to
work on.  Just like the primary purpose of defcustom is to give
information to customize-variable.  Otherwise, we could just as well
use the pre-customize facilities for creating faces and variables.

>  Did you mean API, perhaps?

Certainly NOT!  There are a zillion convenient things one can do on
the API level, that will translate badly or not at all to the UI.

Design the UI *first*, then translate it to the API.  The UI is the
hard part.

reply via email to

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