help-gnu-emacs
[Top][All Lists]
Advanced

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

min-colors 88


From: fatiparty
Subject: min-colors 88
Date: Fri, 28 Jan 2022 14:49:11 +0100 (CET)

Jan 29, 2022, 01:17 by eliz@gnu.org:

>> Date: Fri, 28 Jan 2022 13:53:10 +0100 (CET)
>> From: fatiparty@tutanota.com
>> Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
>>
>> > The colors "defined" for TTY frames are set up in tty-colors.el, and
>> > they don't depend on the number of colors that the terminal actually
>> > supports.
>> >
>> Looking at tty-colors.el, a 16-bit values is being used for each of the 
>> three colours 
>> (R[0-65535] , G[0-65535] , B[0-65535]).  Giving more possibilities than 
>> 24-bit total values
>> (with 8-bit values for each of the three colours.
>>
>> tty-color-define (w32console.el) passes each supported color, its index, and 
>> its RGB values.
>>
>> In tty-color-define, each one of the RGB components is a number between 0 
>> and 65535 (16bit).
>>
>> But unsure how many get passed to tty-color-define.  There is nothing 
>> specified in the .c files
>> about this.
>>
>
> What exactly is the question you want to ask?  Or what is the problem
> you are trying to solve?  And how are the above observations related
> to those questions/problems?
>
You have clarified a lot of things.  I am trying to figure out the actual list 
of properly defined
code values for colours, and how many exist if one counts them.  Is there some 
command 
that actually lists them?

Does emacs only know of the named colour list, or can it use other ones which 
are unnamed?



reply via email to

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