From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: "modern" colors Re: Changes for emacs 28 Date: Mon, 14 Sep 2020 18:35:21 +0200 Message-ID: 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> <83mu1s9war.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6200"; 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: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 14 19:37:53 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 1kHsQK-0001X6-AP for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Sep 2020 19:37:52 +0200 Original-Received: from localhost ([::1]:39396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHsQJ-00041i-9D for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Sep 2020 13:37:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHrRx-0005Tz-Ip for emacs-devel@gnu.org; Mon, 14 Sep 2020 12:35:33 -0400 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:39279) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHrRt-0007oF-9D; Mon, 14 Sep 2020 12:35:29 -0400 Original-Received: by mail-wm1-x32f.google.com with SMTP id b79so692956wmb.4; Mon, 14 Sep 2020 09:35:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version; bh=KA0A1ObUs6L/ZX0pwnuZk6cfWHbjRHsPsWJRACa6fko=; b=seu9zbo+AuiwFkDCsc00FkyYZUi+7AvQ7sb4aiUqYR1fhTTXjFx0v/ChWg4e1SGHze sxWeBi7a6CTf50xe4y3bRk+tv2KoCQTaldHjSwp4Ar4qu+jIMYeLGxQar+v4K5Yc0IJz MA9K/39LHFaR5DRCEkyDyR0pi6qNdr6D4IBws6UygTnFSNy3XhTibcl9XdAb2WF0cEVX CFoQzEkUNL+QFh60TfP68RxUnOopYnc28vRD7oOu2rTW2dUmTOPWK9N2JpIUdj6pij2X pHE4LEBe6VhotUQHKdJ5mwsnN6lT7x/PWRKQ7TTP6VNHL7sscB0+AQrPP6PNHMk9WkF1 IONA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version; bh=KA0A1ObUs6L/ZX0pwnuZk6cfWHbjRHsPsWJRACa6fko=; b=On1eYrGeb8H+710WIuiUCoSwpHLYCKpOdZbnPoU1KLoGQMmKFy8aLPDBP6MF+wms53 9BKVpst/rYgl0GzxcsZ1+G+BL7MjhjE3TgzqE2y8O1BFSWCfcW6EdsFwXmg/EixBmlKG MQ57QDGC2/8HxwPY0LW4OEX2VtGaNeGZmaXEdkrpgaXE/PyPKYBOSSlA4Sx7qdthkW/q ZTWSzkg0azkxu40/9hjhfuksT3Cy3Mh3LPgEvSGjPZWYkKgl7zRQl4h0NQVBE7j/treo r6vQA+mhdN3i2WtsbNOGg1fsHfFX0lTYOzhXFsHp/aixolOTw1nMbkUEgkQPmblK/bD7 h21A== X-Gm-Message-State: AOAM531AENWQmgs2xKs994muh3yuza+ZtEZuEBJpsFnhZcWCcbqGqnIZ CwzmykLqeYyOjhCTXHH2c7o= X-Google-Smtp-Source: ABdhPJzcJFFkiYYblylbPLDyj1bqKnkyOzW+nA10KcpHhngZVo8rVH1R7eyR3Ti75gntGrrKEYHXUA== X-Received: by 2002:a7b:c182:: with SMTP id y2mr234571wmi.21.1600101322868; Mon, 14 Sep 2020 09:35:22 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:5055:7f7f:92a2:59ec]) by smtp.gmail.com with ESMTPSA id t4sm22081667wrr.26.2020.09.14.09.35.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 09:35:22 -0700 (PDT) In-Reply-To: <83mu1s9war.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 14 Sep 2020 19:07:24 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:255679 Archived-At: >>>>> On Mon, 14 Sep 2020 19:07:24 +0300, Eli Zaretskii said: >> 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. 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). Robert