From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Turning off colorization Date: Wed, 05 Nov 2014 18:35:49 +0100 Message-ID: <87k3394kju.fsf@igel.home> 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 1415208985 28053 80.91.229.3 (5 Nov 2014 17:36:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2014 17:36:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 05 18:36:18 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 1Xm4VD-000247-53 for ged-emacs-devel@m.gmane.org; Wed, 05 Nov 2014 18:36:15 +0100 Original-Received: from localhost ([::1]:47834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm4VC-0007Hb-Lm for ged-emacs-devel@m.gmane.org; Wed, 05 Nov 2014 12:36:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm4Uv-0007HU-Dl for emacs-devel@gnu.org; Wed, 05 Nov 2014 12:36:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xm4Up-0002mT-VD for emacs-devel@gnu.org; Wed, 05 Nov 2014 12:35:57 -0500 Original-Received: from cantor2.suse.de ([195.135.220.15]:54257 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm4Up-0002mM-OT for emacs-devel@gnu.org; Wed, 05 Nov 2014 12:35:51 -0500 Original-Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id DA756ACDE; Wed, 5 Nov 2014 17:35:50 +0000 (UTC) X-Yow: What PROGRAM are they watching? In-Reply-To: (Lars Magne Ingebrigtsen's message of "Wed, 05 Nov 2014 18:06:56 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.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:176419 Archived-At: Lars Magne Ingebrigtsen writes: > Andreas Schwab writes: > >> It should be just a matter of making display-color-p return nil. > > I tried > > (defun display-color-p (&optional display) nil) > > and things got less colourful, but putting a `face "red"' on a region > still made the region red. Of course, you get what you asked for. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."