From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Introducing face in comments for various modes Date: Mon, 12 Dec 2022 17:07:26 +0100 Message-ID: References: <9ZK1Solghrmps4AarUsz2E6-mAdkrTZoXPs4RTRTd9sZ0Cd8DGhK955im1kuug-EZXU3tc5rgDDd16vQexxpFnMvMFjFqnNnh0noashyLdE=@protonmail.com> <0RJB0bPRTMAqXlUbL2kGUvJtnCNPYwPhqTNi_l9nIpQAciTZYcYCikFVqi2Nr_UZLbT1_DRtX8G0dSkgI4jln5DTYBDxLz4i7L2d9wx-kA8=@protonmail.com> <21708ec2-d908-4e91-6c0a-4b1cd253e707@gmail.com> <009361a1-4430-ac3a-f395-ce32f10b31f2@gmail.com> 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="8585"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Thibaut Verron , Heime , Stefan Monnier , help-gnu-emacs@gnu.org To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 12 17:08:40 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1p4lM7-00022f-Cu for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 12 Dec 2022 17:08:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4lLN-0001bg-7N; Mon, 12 Dec 2022 11:07:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4lLE-0001X4-3E for help-gnu-emacs@gnu.org; Mon, 12 Dec 2022 11:07:45 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4lL8-00035U-9E for help-gnu-emacs@gnu.org; Mon, 12 Dec 2022 11:07:42 -0500 Original-Received: from [92.251.127.164] ([92.251.127.164]) by web-mail.gmx.net (3c-app-mailcom-bs04.server.lan [172.19.170.170]) (via HTTP); Mon, 12 Dec 2022 17:07:26 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:9xLeyAgnsjsF34eyd3i1LqntI4+QGihyF9DSafTz1KMMcNzxctAEIMIZEr4qWSO1UZ6JM yOCLiOmZBwFDsmmfMsKIs1CyJO4rrEgI3ZLt6A4LcbsTWl6yhn9Mp030ByunPranduVv6DOPJyoy +ER3/anDdpUGCG02VGgM8/8CJ0CfHAD0Dar8RM+m+eSGnA47+rMHepOjKs9S8VVOe20wW0MpIuVR CyvEclBsUkfBGZB326kmfsRzaOpUGmhMeRv0HGrMmnOY05v5RrcRwibDyuyluYNuNq4UPM2OKtRs wU= UI-OutboundReport: notjunk:1;M01:P0:PBmhiO4N4pQ=;wIMfh2Hh966Cmoo0htgpATTkrk/ oIdylZEVlonMgrAiaLK/ZFV7NQvYEip/J5MB0t2kF67iYXdPKUJ2pCu7NadxPwdCEuuVk9lny x4Z1YYs60DfrkzKm8MrN+cJdXhe9MDomloXb2nj4eORKEpPeg8vflxIo5/X2OhQ+i/O3tf19T 2KxJbUUFj3HtgxNby4IkZNBgrvMUSBhuoqNZvs/LNesMpJhgS/4OcXL0kCFTJ6R2Rpk5EorZo DCS0gJC1N5CXjDP4tPeeUcrCOniLpRCG0eUfAeP6a7NlznMnYeERPCr1eFSc4QSTxBFtvD65u hadXi6cQox7WJuLeyOWWjOWBnBVhk4rdPvhx9/TMxH9EC9oW4ZC9KLPRMmPskZGJyyvZQUfup Lactwb71oDbL7kNZz9berJ8lObC2f741PX4hXa0aQBQisYpsJXW0WOOWBBg0mtXQt1/qQsDkd pDzhM7ysK9BApcyOBuPRx9NpHwe4+JnqdGQZ4zWkEgd2FyRog3SFZujRuashwBCFlbdBe5DrX m7WCeX8goFVoiYTc6MhBYeZwLKPegO4jSGTNuy46wYHshvDsyDrr37cDy8Fjsjc7Y8NvQTSN5 /HQGkuzb3r1zEGTH8v3AGivRp4s90SpaHNZYIVKudusdcDOU1dOerwjL5cPSHautZatPkxDcy lSSLldRSPMxO3YB7eHEXQyw7tgcSVsQOza4H8F8ruCiD4WViXit0Cwi9TdRhv0BhuihwxCipZ 3+mlqIobeHpLHKhLWuwKy5jVJx/coeYZ452vf2Bgm0RHphooKAO4gIl1Fw4CJ9KHFCJm5VQ4 Received-SPF: pass client-ip=212.227.15.15; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141681 Archived-At: ----- Christopher Dimech Administrator General - Naiad Informatics - Gnu Project Society has become too quick to pass judgement and declare someone Persona Non-Grata, the most extreme form of censure a country can bestow=2E In a new era of destructive authoritarianism, I support Richard Stallman=2E Times of great crisis are also times of great opportunity=2E I call upon you to make this struggle yours as well ! https://stallmansupport=2Eorg/ https://www=2Efsf=2Eorg/ https://www=2Egnu=2Eorg > Sent: Tuesday, December 13, 2022 at 3:22 AM > From: "Yuri Khan" > To: "Thibaut Verron" > Cc: "Heime" , "Stefan Monnier" , help-gnu-emacs@gnu=2Eorg > Subject: Re: Introducing face in comments for various modes > > On Mon, 12 Dec 2022 at 17:53, Thibaut Verron wrote: >=20 > > > If you use "modus-vivendi" for org-mode, the colours are all almost = white, > > > a big problem particularly when you fold the org headings=2E > > > > I don't like dark backgrounds, but it seems perfectly readable to me= =2E >=20 > Heime has a point=2E The complaint is not about *readability* of > modus-vivendi=E2=80=99s colors against the background=2E It is about > *distinction* between levels of Org headings, i=2Ee=2E ability to > distinguish a level 3 heading from a level 4 just by color=2E >=20 > This is a nontrivial thing to solve, by the way=2E It=E2=80=99s very eas= y to > fall in the trap =E2=80=9CWCAG level AAA prescribes a contrast ratio of = at > least 7:1; I=E2=80=99ll make my primary foreground and all my accent > foreground colors exactly 7:1 against the background so all will be > readable=E2=80=9D=2E Yes, but this way they are all the same luminance, = and by > that token all very similar in some sense=2E A color-blind person might > even not be able to distinguish hues and rely on luminance alone to > tell colors apart=2E Correct=2E WCAG Level AAA works well for a foreground upon a background c= olour=2E Thusly it is still quite a basic scheme=2E When, in addition, one conside= rs=20 colour contrast requirements upon adjacent coloured letters, the WCAG Leve= ls are not enough to do this=2E One has to optimise colour contrast on both = foreground with background, as well as contrast upon adjacent colours=2E =20 Some work on this showed that you would not be able to completely satisfy = WCAG Levels, if you want to optimise colour contrast between adjacent letters too=2E=20 Still, one can use a metric=2E The whole point to understand is that the = colours are not set up at the discretion of the programmer=2E You are limited onl= y to certain colour tones only=2E Doing anything else would always result in a sub-opt= imal result=2E The original modes-themes, even though they were a huge improvements compa= red to other themes, were found to be sub-optimal=2E =20 > As far as I can tell, WCAG does not give any guidance as to > distinction between foreground colors, except for =E2=80=9Cthou shalt no= t make > the user rely solely on color=E2=80=9D=2E >=20 >