From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.devel Subject: Re: Turning off colorization Date: Thu, 06 Nov 2014 15:55:42 -0400 Message-ID: <87vbms9k8x.fsf@moondust.localdomain> References: <87a944cm3x.fsf@moondust.localdomain> <83bnokteme.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415303796 18219 80.91.229.3 (6 Nov 2014 19:56:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2014 19:56:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 06 20:56:30 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 1XmTAT-0003rd-O2 for ged-emacs-devel@m.gmane.org; Thu, 06 Nov 2014 20:56:29 +0100 Original-Received: from localhost ([::1]:55827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmTAT-0006Tm-94 for ged-emacs-devel@m.gmane.org; Thu, 06 Nov 2014 14:56:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmTA8-0006Tf-S6 for emacs-devel@gnu.org; Thu, 06 Nov 2014 14:56:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmTA1-0007FW-7n for emacs-devel@gnu.org; Thu, 06 Nov 2014 14:56:08 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:60639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmTA1-0007FO-1a for emacs-devel@gnu.org; Thu, 06 Nov 2014 14:56:01 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XmTA0-0003QB-0K for emacs-devel@gnu.org; Thu, 06 Nov 2014 20:56:00 +0100 Original-Received: from t876c.wpa.dal.ca ([134.190.135.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Nov 2014 20:56:00 +0100 Original-Received: from nljlistbox2 by t876c.wpa.dal.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Nov 2014 20:56:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: t876c.wpa.dal.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:QY+mDXagH0POTke9o9QQswA607g= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:176483 Archived-At: At 13:36 -0400 on Thursday 2014-11-06, Eli Zaretskii wrote: >> From: nljlistbox2@gmail.com (N. Jackson) >> Date: Thu, 06 Nov 2014 12:47:14 -0400 >> >> After reading this thread, today I tried toggling off font-lock-mode >> (and global-font-lock-mode) in an unreadable HTML mail buffer to see if >> that provides a better solution. However it seems to have no effect >> whatsoever on how the buffer is displayed. > > I'm quite sure HTML colors are not handled by font-lock. They are > probably handled by putting explicit color faces on chunks of text, > under control of the HTML tags/CSS. > > Go to one of the colored places and type > > M-x describe-text-properties RET > > If you don't see "fontified t" among the properties, you are not up > against font-lock. Indeed. >> So providing a more intuitive alias for it, or putting it on the >> menus, would not be helpful (at least in my case). > > I don't think it will help, see above. Yes. That's what I was trying to say. What I was also trying to say, and failed to say explicitly, is that adding, for the benefit of the naive user (me in this case), a function to toggle "colourisation" (IIRC color-mode was proposed) will not work if it is just an alias for font-lock-mode. Regards, N. Jackson