From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ricardo Wurmus Newsgroups: gmane.emacs.devel Subject: Re: "modern" colors Re: Changes for emacs 28 Date: Sun, 13 Sep 2020 23:43:11 +0200 Message-ID: <878sddz72o.fsf@elephly.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29286"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.13; emacs 27.1 Cc: casouri@gmail.com, spacibba@aol.com, emacs-devel@gnu.org, ams@gnu.org, ghe@sdf.org, Eli Zaretskii , tecosaur@gmail.com To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 13 23:42:41 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 1kHZlf-0007Wr-QH for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 23:42:39 +0200 Original-Received: from localhost ([::1]:52962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHZle-0006pH-Sb for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 17:42:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHZl5-0006Ox-BJ for emacs-devel@gnu.org; Sun, 13 Sep 2020 17:42:03 -0400 Original-Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21157) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHZl3-0006B4-TL; Sun, 13 Sep 2020 17:42:03 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1600033318; cv=none; d=zohomail.com; s=zohoarc; b=Rn1XpK+FqhSGEREKwouWLYQUFqdCxKXHab/7DxumogvynxDciTjIBfG6YK1qLbrf+2ov/LEy2OtlqmbA5jvTlsgHroAhl9wYGcLGUiqGdJDCnBpZ0XBdSMfwNH6GRnpvLsQOlyTKexXj9bOh8OfAPO24dkYgehh5ejlTcQ4Ebgo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600033318; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Ed/xZCALUErxPM+x1XzwkZq2q3sWebI9LhSmyLqekNU=; b=SAo/uICCZVnJeQb0lYA9Ki3FOQsseRwwAzgMKw7ahV7i3acKO6LHuLfy4xUU9bCC6SKjehhN5Wvqzr7bPMYUYXvDQehSuewZGhX1/r49YgVnU3GJlh/vp54R2cMV/QbHyjDnI94C+k35NF26CUFGcvsILkrVQ1vTDAYlHqnJ+T4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600033318; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=Ed/xZCALUErxPM+x1XzwkZq2q3sWebI9LhSmyLqekNU=; b=Jcp79d+lJNvOmIfjFgt/OcV95W9Wv91N7W3E8oCLzVh7eZONX4BCZw3TSlCRp2is oeV48TtYUUPlo1OSQB5mrGwRrdkkmg5JoM2fQ33QqAx/rvtK5xZ2lxwu1fRGMt+tOgg nyPpuIQCT4BXFA3/4a1YFrp7g34qG/IwWr3lZFQc= Original-Received: from localhost (p4fd5aca2.dip0.t-ipconnect.de [79.213.172.162]) by mx.zohomail.com with SMTPS id 1600033315484856.8049850212435; Sun, 13 Sep 2020 14:41:55 -0700 (PDT) In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/13 15:13:18 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: 13 X-Spam_score: 1.3 X-Spam_bar: + X-Spam_report: (1.3 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_CSS_A=0.1 autolearn=no 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:255580 Archived-At: Stefan Monnier writes: >> I suppose that=E2=80=99s exactly what gtk_selection_bg_color and >> gtk_selection_fg_color are supposed to do: take the colours from the GTK >> theme. >> >> On Guix we build Emacs with the GTK toolkit. > > So the bug is that we obey the "external" settings for the region but > apparently not for the `default` face. There=E2=80=99s also a colour clash with the font-lock-comment-face and the region when gtk_selection_bg_color happens to be dark (dark red on black). Perhaps it=E2=80=99s a mistake to obey external colour settings at all, whe= n we can only do it partially anyway. --=20 Ricardo