From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Darkening font-lock colors Date: Fri, 31 Jul 2009 02:18:26 +0200 Message-ID: References: <87d47hoox5.fsf@stupidchicken.com> <200907302139.n6ULdKCr008497@godzilla.ics.uci.edu> <87my6lrfzf.fsf@stupidchicken.com> <200907302221.n6UMLUWZ009001@godzilla.ics.uci.edu> <4A722F7B.20101@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1248999550 2205 80.91.229.12 (31 Jul 2009 00:19:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 00:19:10 +0000 (UTC) Cc: Chong Yidong , Dan Nicolaescu , emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 31 02:19:01 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 1MWfpn-0002Fh-E7 for ged-emacs-devel@m.gmane.org; Fri, 31 Jul 2009 02:18:55 +0200 Original-Received: from localhost ([127.0.0.1]:51587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWfpm-0004wT-QL for ged-emacs-devel@m.gmane.org; Thu, 30 Jul 2009 20:18:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWfpS-0004Y2-VD for emacs-devel@gnu.org; Thu, 30 Jul 2009 20:18:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWfpM-0004O1-Ng for emacs-devel@gnu.org; Thu, 30 Jul 2009 20:18:33 -0400 Original-Received: from [199.232.76.173] (port=43645 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWfpL-0004Nd-KL for emacs-devel@gnu.org; Thu, 30 Jul 2009 20:18:27 -0400 Original-Received: from mail-yx0-f193.google.com ([209.85.210.193]:58982) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWfpL-0000li-8A for emacs-devel@gnu.org; Thu, 30 Jul 2009 20:18:27 -0400 Original-Received: by yxe31 with SMTP id 31so3387563yxe.24 for ; Thu, 30 Jul 2009 17:18:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=tocPrVSBfa1mR11FtXxzr9/vm9/SwI0mU5sYEr93clk=; b=TP73HU54WZyk7culd05jKMCHiVxgCy73UYDAepEa08DlF9FINVWeq315Y4GDAZbVlF T1fOSMdskCpBtxSHLZNDHqceIqYNPdX6aFUcLa4EKY3I03pVldXDMgqpDF41vS5Y/FKs sUP7fVSCE2wbk0yBz/krdeKpbiiU3MYtyjl40= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=FDav1h6BVciXO8blneaFGGHI8g44Env+YLHoRowO0fMYkfklzu1rZISeyhFG/3+P0l x0G2GdMJspTiFm1aczQspZX7rW2VZibWJ3IRIgC1nQu99HJfuVBzk/Sr3qMI0tuEfwOO fv1Jvs04y2b2XkhnorfWCQe3MDjJQhCeoTJKM= Original-Received: by 10.100.31.17 with SMTP id e17mr2461228ane.160.1248999506401; Thu, 30 Jul 2009 17:18:26 -0700 (PDT) In-Reply-To: <4A722F7B.20101@harpegolden.net> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:113435 Archived-At: On Fri, Jul 31, 2009 at 1:40 AM, David De La Harpe Golden wrote: > Dan Nicolaescu wrote: > >> =C2=A0> See attached. =C2=A0One a LightGray background, font-lock-string= -face is >> =C2=A0> almost illegible by default IMO. >> >> I see no reason to change font-lock-variable-name-face, seems readable >> enough, and its too similar to font-lock-string-face after the change. >> > > Best also bear in mind people's (especially males) color perception abili= ty > can vary. I fed the provided sample through the color-blindness display > filters in GIMP (couldn't work out how to save other than screen capture, > blargh, display filters don't work like image filters), FWIW (which might= n't > be much, really need real color-blind people...) Great. I didn' t know GIMP had such information. However it seems impossible to take care of this in the default color scheme. I suggest adding additional color schemes for the font-lock faces for this. Other useful things is guidelines for accessibility, for example this one h= ere: http://juicystudio.com/services/csstest.php I just mailed the author of this page and asked if he had some advice for how to get both contrast to the background and distinguishable colors (no response yet). BTW, in mumamo.el I use background colors to distinguish chunks with different major modes. I just noticed that someone with vision impairement had problems with that. (This is problematic since the information provided by the background color is important so I then added a second solution for this, using the margins instead.)