From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@newcastle.ac.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Turning off colorization Date: Wed, 05 Nov 2014 11:52:04 +0000 Message-ID: <87bnoln9uj.fsf@newcastle.ac.uk> 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 1415188347 23839 80.91.229.3 (5 Nov 2014 11:52:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2014 11:52:27 +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:21 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 1Xlz8O-00019Y-EL for ged-emacs-devel@m.gmane.org; Wed, 05 Nov 2014 12:52:20 +0100 Original-Received: from localhost ([::1]:45911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xlz8O-00044F-4P for ged-emacs-devel@m.gmane.org; Wed, 05 Nov 2014 06:52:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xlz8G-0003wq-DM for emacs-devel@gnu.org; Wed, 05 Nov 2014 06:52:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xlz8A-00010Z-AS for emacs-devel@gnu.org; Wed, 05 Nov 2014 06:52:12 -0500 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:45106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xlz8A-00010V-4S for emacs-devel@gnu.org; Wed, 05 Nov 2014 06:52:06 -0500 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1Xlz89-0007Ra-DM for emacs-devel@gnu.org; Wed, 05 Nov 2014 11:52:05 +0000 Original-Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1Xlz89-0006OD-2O for emacs-devel@gnu.org; Wed, 05 Nov 2014 11:52:05 +0000 In-Reply-To: <87k33951ey.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 5 Nov 2014 06:31:33 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.22 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:176390 Archived-At: Ted Zlatanov writes: > On Wed, 05 Nov 2014 10:11:34 +0100 David Kastrup wrote: > > DK> Syntax highlighting is an established term for this. Even the > DK> description of font-lock-mode has the summary > > DK> Toggle syntax highlighting in this buffer (Font Lock mode). > > DK> and every editor capable of doing it calls it "syntax highlighting". > DK> Colorization, in contrast, is a much more generic term missing the > DK> connotation of the _meaning_ with which colors are assigned. > > Some color-blind or visually impaired people may want syntax > highlighting but not colorization. I think that was the original reason > for this request: rendering HTML with no colors for better contrast in a > specific terminal configuration. > > In HTML we can specify colors explicitly or indirectly through styles > (equivalent to syntax highlighting). Viewing a web page without color, > therefore, is different from viewing it without syntax highlighting. > > 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. This would be a matter of picking a different "colour" scheme surely? One with no colours, but using the other elements that you talk about. I have a high-vis colour scheme (white background rather than my usual dark) which I use on my laptop on a sunny day, for instance. Then a command line option to choose it, to avoid the bootstrap problem of not being able to see emacs properly to choose the option. Of course, you'd need to ask an accessibility expert as to whether this would help or not. Phil