emacs-devel
[Top][All Lists]
Advanced

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

Re: Make button face appear magenta on a Linux console


From: Eli Zaretskii
Subject: Re: Make button face appear magenta on a Linux console
Date: Mon, 23 Apr 2007 11:40:25 +0300

> From: Nick Roberts <address@hidden>
> Date: Mon, 23 Apr 2007 08:56:04 +1200
> Cc: address@hidden
> 
> If I do "man ls" in the xterm without underlining, words that are meant to be
> displayed with an underline are displayed with a magenta foreground (likewise
> bold is displayed as blue).
> 
> If a console can't do this, then presumably Emacs could by specifying the
> button face as magenta.

We lack infrastructure for such features.  What we need is a way to
form conditionals inside defface forms that look at display
capabilities, so that we could, for example, define an alternative for
the underline attribute on displays that don't support underline.
What we have now allows to form conditionals on _some_ of the
capabilities, in a patchy and ad-hoc way: we can ask about color and
grayscale support, about the number of available distinct colors, and
about the value of window-system, but that's it.

(I hope it is clear that such changes are for after the release.  As a
matter of fact, even changing the default faces should not be done
now.)




reply via email to

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