emacs-devel
[Top][All Lists]
Advanced

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

Re: Turning off colorization


From: Eli Zaretskii
Subject: Re: Turning off colorization
Date: Mon, 10 Nov 2014 18:21:46 +0200

> From: Mirek Kaim <address@hidden>
> Date: Mon, 10 Nov 2014 16:29:11 +0100
> Cc: "address@hidden" <address@hidden>,
>       Eli Zaretskii <address@hidden>, "address@hidden" <address@hidden>,
>       "address@hidden" <address@hidden>
> 
> i think it's best to use 'do we have at least 256-color support' instead. how 
> do you want to determine what the background rgb values are? the name of the 
> color doesn't mean anything, people use themes for terminals. when theme is 
> reasonable, it may work, more or less (probably less), but if colors are 
> totally different than their names suggest, it's all bound to be wrong.

Please take a look at lisp/term/xterm.el: modern terminal emulators
report their background color as rgb:NUM1/NUM2/NUM3 rgb triplets.
This allows Emacs to interpret the color itself, not its name.



reply via email to

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