emacs-devel
[Top][All Lists]
Advanced

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

Re: Can we use FRAME_RIF to return a Lisp_Object result?


From: Eli Zaretskii
Subject: Re: Can we use FRAME_RIF to return a Lisp_Object result?
Date: Tue, 31 Oct 2017 22:19:56 +0200

> Date: Tue, 31 Oct 2017 12:59:02 -0700
> From: Keith David Bershatsky <address@hidden>
> Cc: address@hidden
> 
> Prior to just a few minutes ago when I read your comments, I had been unaware 
> that it was possible to obtain the RGB for the default foreground/background 
> (which might be remapped on a buffer local basis) from within xdisp.c absent 
> using platform-dependent functions.  That misunderstanding was based (in 
> large part) upon a layman's reading of the code looking for keywords such as 
> "red", "green", "blue", and "RGB".  Because I found keywords of that nature 
> in the platform-dependent areas of the code (nsterm.m, w32term.c, and 
> xterm.c), I made the erroneous assumption mentioned above.

If you want to understand how face colors are being managed and
manipulated in Emacs, you should read xfaces.c, not the other source
files.



reply via email to

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