From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: "modern" colors Re: Changes for emacs 28 Date: Sun, 13 Sep 2020 23:45:55 +0200 Message-ID: <20200913214555.2r32tlm6hszls5jn@Ergus> References: <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> <878sddz72o.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11670"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , Eli Zaretskii , casouri@gmail.com, emacs-devel@gnu.org, ams@gnu.org, 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 23:48:05 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 1kHZqv-0002wX-AV for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 23:48:05 +0200 Original-Received: from localhost ([::1]:56988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHZqu-0000KK-CM for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 17:48:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHZp6-0007XM-J5 for emacs-devel@gnu.org; Sun, 13 Sep 2020 17:46:12 -0400 Original-Received: from sonic305-3.consmr.mail.bf2.yahoo.com ([74.6.133.42]:40020) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHZp2-0006sD-Ng for emacs-devel@gnu.org; Sun, 13 Sep 2020 17:46:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1600033566; bh=NpHod19tyIRii+cgRslonZFsLLHmJziVnxU2yPheXMU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=nVccr5AMwOdaQ9Jor/qaQdyglDgD93yY8h425jBrgYMDk3j2DEEmIgw4cLia8btJVNJ0q44Won/uOnue6oqJVdY2UL7C+7hwuMolQ5tbdYknBVeh3KX3+6Gr2Y3i0OOd1rGxPO0Hk903ZZT+ccw96+ggiMXfCI5TIlSKA8ieNET6AyLb/+xLuYZwyau/dXSSAwBOBBGxN5D5s4MdCA1VJpW7bQXxmndleMwAN2QUhFLpNFBofhhhn1e8dw+oeB/11oDfjKpAl7oHk3dNJ8asKKo8pY/WdjtdPXqjowuJg/KDAZ5VwVaAtnga+Xkx8C3h6sJFxCBDKGhaSlBjKraCVw== X-YMail-OSG: hNI.hQEVM1lkEouU1PbLwBF27aUHdJ5F3pX48b6Ve1luS6Q8k3XHz.fNw3WEXqF hixbJD.bg2UqftseyDMlVLTCspljDYhb6KDSaum75nj6QSgEjqgiNGgctsV2VuoTvQWYvLzHZ4ZS dV4jH6SLeCsyAYlLa8nvOM1ZWQhZew.EQpWM.D8EvzCr3L1ghvGvPRuRMUKm_qiPkjHJvUGoc30j GduWNXTexkYBqy2VV1.M_p.QEXSW2jozbLGrtWiu9OE7KpBxWQ7n..fRH3QDhg3lmV5dypE44aiv rP5_0KHnurt08dQB4._nGEs2IaXOC7N9E0rx8N3an9WLnZgLE7r_Zr2Ec5xGJRLYt2_2t30.wM93 o8KdX6YUlIrrRkj0hYtW.2ruG.MPnI5xOcllbEDHzUfEaQ6QlDvJPiIRQCzYaAnwG7OdbCv74Hnx K_k4brlm7qVe0yif.71vO0DQ2d8mAt56irAhkSmNZTOF3YuAm9vQWuuojStYvdd5HJ_KQlOF6wQQ p8jQYu7.e.xQJD2KVGDSlg0ueHcf9M7XPQFpG8IXYtVy7osVXJfCHosJxzGoMv6i2kgqHQRlwMwt pkhAkosWD2t8db30JxlpwlC3dXquRVEXN_qX2hU7Qp9kf2xmQWTWAXaguIyT4htY4T_p6cswbLGl EwfiEvwNAJ6zXDkn420_UotZXG7yM2bAepm6fkfKb4UDXywwuyW8MQfg89mhZRkso2__j4TUiX.A XvYePge.6AaL.xz4QqGRGQL4GOuOCetRhINOS0v505GeooDCwSz68UdS93ZT0pHPuTIbQo_NK4yk qINMYECSyqhgKx.bYuOotxyI5vqHZc9sUPUD4TKBme Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.bf2.yahoo.com with HTTP; Sun, 13 Sep 2020 21:46:06 +0000 Original-Received: by smtp423.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 9a3dd4cda6b01944f42e7083d17fb2aa; Sun, 13 Sep 2020 21:46:01 +0000 (UTC) Content-Disposition: inline In-Reply-To: <878sddz72o.fsf@elephly.net> X-Mailer: WebService/1.1.16583 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Received-SPF: pass client-ip=74.6.133.42; envelope-from=spacibba@aol.com; helo=sonic305-3.consmr.mail.bf2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/13 16:04:05 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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:255582 Archived-At: On Sun, Sep 13, 2020 at 11:43:11PM +0200, Ricardo Wurmus wrote: > >Stefan Monnier writes: > >>> I suppose that’s 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’s 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’s a mistake to obey external colour settings at all, when we >can only do it partially anyway. > > >-- >Ricardo