From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: "modern" colors Re: Changes for emacs 28 Date: Mon, 14 Sep 2020 19:07:24 +0300 Message-ID: <83mu1s9war.fsf@gnu.org> References: <20200910102000.2t6tsju745xutg7u@Ergus> <20200910110832.ko66gqnqo4l664d6@Ergus> <20200911134225.zhnlq7cdhmu2iraj@Ergus> <20200911221435.go7b5kz2zcvxp2ft@Ergus> <20200912153723.ymnq3i5pugqf7lsy@Ergus> <871rj628mq.fsf@elephly.net> <20200912195358.3zjct7gsogjtlh3n@Ergus> <87y2lezrbp.fsf@elephly.net> <83pn6pbtni.fsf@gnu.org> <87mu1tzlxo.fsf@elephly.net> <83mu1tbp7a.fsf@gnu.org> <87h7s1zccb.fsf@elephly.net> <83a6xsbexi.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32711"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, casouri@gmail.com, emacs-devel@gnu.org, rekado@elephly.net, ams@gnu.org, monnier@iro.umontreal.ca, ghe@sdf.org, tecosaur@gmail.com To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 14 19:26:28 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kHsFI-0008Og-Br for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Sep 2020 19:26:28 +0200 Original-Received: from localhost ([::1]:40990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHsFH-00010r-AR for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Sep 2020 13:26:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHr0q-0002jg-1U for emacs-devel@gnu.org; Mon, 14 Sep 2020 12:07:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54910) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHr0p-0002Sk-Ax; Mon, 14 Sep 2020 12:07:27 -0400 Original-Received: from [176.228.60.248] (port=2501 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kHr0j-00063w-T4; Mon, 14 Sep 2020 12:07:22 -0400 In-Reply-To: (message from Robert Pluim on Mon, 14 Sep 2020 16:47:13 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:255673 Archived-At: > From: Robert Pluim > Cc: Stefan Monnier , 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. And a similar trick with the default face won't work or something?