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:46 +0200 Message-ID: <20200913214546.dcwn2o4hozl3whak@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="6732"; 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:46:50 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 1kHZph-0001dP-So for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 23:46:49 +0200 Original-Received: from localhost ([::1]:55022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHZpg-0007vL-Va for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 17:46:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHZov-0007TR-1W for emacs-devel@gnu.org; Sun, 13 Sep 2020 17:46:01 -0400 Original-Received: from sonic301-3.consmr.mail.bf2.yahoo.com ([74.6.129.42]:40860) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHZos-0006r9-B9 for emacs-devel@gnu.org; Sun, 13 Sep 2020 17:46:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1600033557; bh=ZUnflN33u0lk81DWEKbHB5Yjlb87GN8Zw4TDkJ9cnyo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=Vp7LORFlKJtbrTq+09Fd9A3ArjvuXmaosZ4dH+2se9jCN0NgTXBvvjREmOvULMije3eN78MkZyqOhA9A5/zmCGrJfJim5uN4LCXv1ZAg/Frkz7j4ik95+1iZkOOAwHwYPzbngeHEVlJq6HXmfkxE8dY3g0WLoVL51XMlIy91FiZPrrDLjBrxMk5uXvPJFqVyu/a8xADEVvlMdWckNxE5inahtCuxL4IYtR9uMnDBMu85CeOp9Ul0Qe8s5qxu2OZZkUy9Jh/8dHDeKmpCrQAXoL1JljIHiKZ50AwkHEgMOLWOJ+WadZse5OsZ/qV604abqLchtbuC+LJcamQg/3YoWQ== X-YMail-OSG: 2vNcig8VM1nHAO3CGretuQx0gdGa85oGKnfpZQO5jHUY_IvVFKS2cRD2K7t21dM Vjur.8KJ8gMrcfaoplmcPZzrdxqbtwxtr4WfPgpRr1FkDwBRnoLxGd27NXLv7z5el6.ZUQqXMuKm QanxwoggW7vi9HUBVkDEqGxAeYsj2ortGoKquun0xut12ud8lwJXC_XQwo9RYvQVqWMn2UGabixd G41yJ4qlnpCkax3r9jO57msc3ezHmBl1Bdwv1CZqX0yEaEujMdE2qLVk7TaW.1Rkwd0voJ5MUHYo 8drmNflWs4mzn9qUuKGMnFenG7DJJF29NydlO2jC1_oNBUtQ0o7basRo4ss5F1XluHgD3dXcea2K MM4xmBicxmZ3u3arJyUKYIFOCEyikUuX.QdWlWfkDmTB5pNmAly8GFUBPzodCqnWEtmK7gr11_AO Ql_bo1tYogBg9Z6plkzRgMwnCYHWEGqoMDfVlS2NgqDhFJ_8qanjfH9W3MAbT49OEzOogNWBQezX c3nMg_07PwRRJh_UAcw2NVU7Lm3IZhcqF099pLcUbMvW02qXd4i7_kq775oVucDq7FhfSoLVRh2g _XHKKqZt2UnZPxjyjHjX9_ZxjIeOp_pM3Ji.lGl5JQJrZYfQQi6rJl3cE8Xz45VD9VJrD455afB9 03CImym5u6pgi87oBEsDOlbQintvGwZycRH7xnhaXfeiBu2S.9bINYTEVl.Tf7R3NtoHWnTjRdrE zfXFtp14LoJsWLBJF1ExhXDvNlfyh1rRMkp4CrCcNGb0yL8Iou9Dg6FhUnwRDpSVc6uPV9uV.lqz OXm1u_PJ03FGQNc6qqdHRctDj1K38z.n3SByjFDYSk Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Sun, 13 Sep 2020 21:45:57 +0000 Original-Received: by smtp409.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 41f6af09e44fad2b0de53ecdf2ef28d6; Sun, 13 Sep 2020 21:45:52 +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.129.42; envelope-from=spacibba@aol.com; helo=sonic301-3.consmr.mail.bf2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/13 17:45:57 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:255581 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 A bit offtopic but related with fontlock. Using vim today (Don't judge me) I noticed that they fortify escape sequences and numbers (I mentioned this last one before). Could we have that? please please. There is a highlight numbers package but it breaks my cmake-fontlock-mode.