From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Darkening font-lock colors Date: Mon, 3 Aug 2009 15:40:33 -0700 Message-ID: References: <87d47hoox5.fsf@stupidchicken.com><87d47hisbq.fsf@cyd.mit.edu><87zlahrggt.fsf@cyd.mit.edu> <87tz0pg1uk.fsf@mail.jurta.org><4A76481C.6000602@harpegolden.net><87hbwp32ep.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249350469 18638 80.91.229.12 (4 Aug 2009 01:47:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2009 01:47:49 +0000 (UTC) Cc: 'David De La Harpe Golden' , 'Chong Yidong' , emacs-devel@gnu.org, 'Juri Linkov' , 'Dan Nicolaescu' , 'Stefan Monnier' To: "'Lennart Borgman'" , "'Miles Bader'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 04 03:47:41 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MY97o-00066r-4u for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2009 03:47:36 +0200 Original-Received: from localhost ([127.0.0.1]:51526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MY97n-00073e-Kj for ged-emacs-devel@m.gmane.org; Mon, 03 Aug 2009 21:47:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MY6DB-0000AL-Ff for emacs-devel@gnu.org; Mon, 03 Aug 2009 18:40:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MY6D2-0008Ow-4i for emacs-devel@gnu.org; Mon, 03 Aug 2009 18:40:53 -0400 Original-Received: from [199.232.76.173] (port=44522 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MY6D1-0008OK-Rg for emacs-devel@gnu.org; Mon, 03 Aug 2009 18:40:47 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:22854) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MY6Cz-0000nJ-9M; Mon, 03 Aug 2009 18:40:45 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n73Mf3J2022090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 3 Aug 2009 22:41:05 GMT Original-Received: from abhmt006.oracle.com (abhmt006.oracle.com [141.146.116.15]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n73Mebec031703; Mon, 3 Aug 2009 22:40:37 GMT Original-Received: from dradamslap1 (/141.144.80.98) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 03 Aug 2009 15:40:35 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcoUiX/Cu//Z69tFSPCRnU7+TkVJjgAASY3A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt006.oracle.com [141.146.116.15] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010207.4A776765.0018:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113634 Archived-At: > I have found it surpisingly hard to find colors that have both good > luminance color contrast (accessibility, suggested by WCAG) and are > distinguishable and pleasant (usability). And then I did not even > consider color blindness (which I think should go on top of this). 1. The solution to that dilemna of contrasting needs is not a compromise. It is to offer 3 or more general settings. Themes, if you like, but it need not be as full-blown as themes. Even just 3 choices for a small set of default faces would be a good first step. 2. FWIW, I am against having both foregrounds and backgrounds defined for faces such as font-lock faces, that is, for the default values. Distracting & ugly. Also, they look odd when over trailing whitespace. Such faces can be OK for things like headings and directories in Dired. Otherwise, they are not very helpful, IMO. (Faces that are background only (no foreground) are good for highlighting, obviously.) The main thing is that faces intended for text, especially large chunks of text, should avoid using a background. Just one opinion.