emacs-devel
[Top][All Lists]
Advanced

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

Re: built-in variable `font-use-system-font' not bound


From: Stefan Monnier
Subject: Re: built-in variable `font-use-system-font' not bound
Date: Sun, 22 Nov 2009 21:16:33 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>> Regardless of how things currently are (we currently have a big mess in
>> this respect), we should follow the following convention:
>> - if it's a feature specific to X11, W32, NS, ... then use a name that
>> starts with "x-", "w32-", "ns-", ...
>> - if it's a feature that makes sense everywhere, then don't use such
>> a prefix (even if it's only implemented for some of the backends).

> If we follow that convention, I think we need another prefix for
> functions/variables that are common across window systems that can be used
> in the test to avoid warnings/errors in cus-start.el for tty only builds.
> Currently we usually use x- for these, since historically most such features
> started on X and were ported to other window systems later.

So you mean features that only make sense for GUIs but not for
text-based terminals like ttys?  I can't think of any such feature
which couldn't be treated similarly to "a feature that makes sense
everywhere but hasn't yet been implemented in all terminal types".


        Stefan




reply via email to

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