From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Turning off colorization Date: Wed, 05 Nov 2014 12:51:56 +0100 Message-ID: <8761et986b.fsf@thinkpad-t440p.tsdh.org> References: <874muenb56.fsf@newcastle.ac.uk> <87egtivwop.fsf@fencepost.gnu.org> <87k33951ey.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415188339 23742 80.91.229.3 (5 Nov 2014 11:52:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2014 11:52:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 05 12:52:14 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xlz8G-00015w-G8 for ged-emacs-devel@m.gmane.org; Wed, 05 Nov 2014 12:52:12 +0100 Original-Received: from localhost ([::1]:45910 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xlz8G-0003uq-5q for ged-emacs-devel@m.gmane.org; Wed, 05 Nov 2014 06:52:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xlz87-0003sv-N5 for emacs-devel@gnu.org; Wed, 05 Nov 2014 06:52:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xlz81-0000zi-QX for emacs-devel@gnu.org; Wed, 05 Nov 2014 06:52:03 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:55313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xlz81-0000zc-L7 for emacs-devel@gnu.org; Wed, 05 Nov 2014 06:51:57 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id F207B1A83EC for ; Wed, 5 Nov 2014 12:51:56 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SPX0mgbgN_hU for ; Wed, 5 Nov 2014 12:51:56 +0100 (CET) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad-t440p.tsdh.org (dhcp133.uni-koblenz.de [141.26.71.133]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id A37A51A83E2 for ; Wed, 5 Nov 2014 12:51:56 +0100 (CET) Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <87k33951ey.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 05 Nov 2014 06:31:33 -0500") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 141.26.64.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:176389 Archived-At: Ted Zlatanov writes: > Some color-blind or visually impaired people may want syntax > highlighting but not colorization. Very good point. > So maybe Emacs could offer a way to turn off colors without turning > off syntax highlighting, at least in SHR. I think it would be > generally useful, but don't know if and how it could work generally. Wouldn't it suffice to provide a `no-colors' theme that sets up the standard font-lock faces so that they don't use colors but only bold fonts, italics, underline, etc? Probably, that wouldn't suffice because redefining each and every face defined by some package isn't feasible. But maybe that "theme" could also advise `defface' and friends and strip color attributes from face-specs. Bye, Tassilo