emacs-devel
[Top][All Lists]
Advanced

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

Re: Font slants


From: Chong Yidong
Subject: Re: Font slants
Date: Sat, 05 Apr 2008 17:46:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> one possibility is to change font-slant-table etc into defconsts and
>> move them from faces.el into cus-face.el.  Is it even useful to
>> customize these alists?
>
> ...
>
>> (defcustom font-swidth-table
>>   '((ultracondensed . 50) (ultra-condensed . 51)
>>   ...
>
>> Why do we have a practically indistinguishable difference between
>> ultracondensed and ultra-condensed?  Similarly with several other
>> symbols in these alists.
>
> Try to change it (or check vc-annotate) to see why: it needs to be
> bijective (ie. reversible).

This is another reason why these alists should be constants instead of
customizable, IMO.  As defcustoms, it would seem reasonable for the user
to provide arbitrary values for these alists.




reply via email to

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