[Top][All Lists]

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

Re: "modern" colors Re: Changes for emacs 28

From: Robert Pluim
Subject: Re: "modern" colors Re: Changes for emacs 28
Date: Mon, 14 Sep 2020 18:35:21 +0200

>>>>> On Mon, 14 Sep 2020 19:07:24 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Robert Pluim <rpluim@gmail.com>
    >> Cc: Stefan Monnier <monnier@iro.umontreal.ca>,  spacibba@aol.com,
    >> casouri@gmail.com,  emacs-devel@gnu.org,  rekado@elephly.net,
    >> ams@gnu.org,  ghe@sdf.org,  tecosaur@gmail.com
    >> Date: Mon, 14 Sep 2020 16:47:13 +0200
    Eli> Are we sure this is the case?  Where's the code which uses the colors
    Eli> for the region?
    >> faces.el:
    >> (defface region
    >> '((((class color) (min-colors 88) (background dark))
    >> :background "blue3" :extend t)
    >> (((class color) (min-colors 88) (background light) (type gtk))
    >> :distant-foreground "gtk_selection_fg_color"
    >> :background "gtk_selection_bg_color" :extend t)
    >> 'region' is the only face this is done for.

    Eli> And a similar trick with the default face won't work or something?

Sure it will, if someone knowledgeable tells us what Gtk calls those
colours. (I tried to work it out from what's on my system, but got
lost in a twisty maze of includes of non-existent files).


reply via email to

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