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: Sun, 13 Sep 2020 18:09:21 +0300 Message-ID: <83pn6pbtni.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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6769"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, casouri@gmail.com, emacs-devel@gnu.org, ams@gnu.org, monnier@iro.umontreal.ca, ghe@sdf.org, tecosaur@gmail.com To: Ricardo Wurmus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 13 17:10:25 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 1kHTe5-0001et-TD for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 17:10:25 +0200 Original-Received: from localhost ([::1]:60442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHTe5-0006y6-04 for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 11:10:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHTd7-0006D6-D1 for emacs-devel@gnu.org; Sun, 13 Sep 2020 11:09:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59269) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHTd4-0002bn-A2; Sun, 13 Sep 2020 11:09:22 -0400 Original-Received: from [176.228.60.248] (port=2239 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kHTd1-0007MU-6n; Sun, 13 Sep 2020 11:09:19 -0400 In-Reply-To: <87y2lezrbp.fsf@elephly.net> (message from Ricardo Wurmus on Sat, 12 Sep 2020 22:13:30 +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:255501 Archived-At: > From: Ricardo Wurmus > Date: Sat, 12 Sep 2020 22:13:30 +0200 > Cc: casouri@gmail.com, emacs-devel@gnu.org, "Alfred M. Szmidt" , > monnier@iro.umontreal.ca, ghe@sdf.org, tecosaur@gmail.com > > Interesting! In my Emacs the background of the selection is close to > black, so for typed text that’s fine, but it’s indeed sub-optimal when > selecting the red comment text. Perhaps the difference is because I set > up a dark GTK theme (the toolbar has a dark background, for example). The behavior you have on your system isn't the Emacs default: we don't invert colors to display the region, we only specify a different background color (see the default definition of the 'region' face).