emacs-devel
[Top][All Lists]
Advanced

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

Re: RFC Patch: add tty face attributes


From: Matthew Leach
Subject: Re: RFC Patch: add tty face attributes
Date: Sun, 02 Nov 2014 10:18:16 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Hi Stefan,

Stefan Monnier <address@hidden> writes:

>> the Emacs daemon to achieve this.  However, the color schemes that I use
>> on the tty and the windowing system are quite different and I find
>> myself flip-flopping between colors for the background face of
>> hl-sexp-face as it is unreadable when switching to a tty editing session
>> form the windowing-system session.
>
> The usual way to handle these issues is to use a face specification
> which ends up choosing a different color for those two cases (usually
> distinguishing those cases based on specs like `background',
> `min-colors', or `type' (see C-h f defface).

Ah, I didn't know about that.  That was exactly what I was looking for!
Still was a good exercise in getting to know how the faces system works
and writing code with the C api :-).

Thanks,
-- 
Matt



reply via email to

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