From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: karl@freefriends.org (Karl Berry) Newsgroups: gmane.emacs.devel Subject: Re: can't turn off font-lock Date: Sun, 12 Aug 2007 17:54:01 -0500 Message-ID: <200708122254.l7CMs1S25254@f7.net> References: NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1186959331 790 80.91.229.12 (12 Aug 2007 22:55:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Aug 2007 22:55:31 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 13 00:55:29 2007 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 1IKMLH-0001AP-5A for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2007 00:55:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKMLG-0003bk-Kp for ged-emacs-devel@m.gmane.org; Sun, 12 Aug 2007 18:55:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IKMKh-00038k-P9 for emacs-devel@gnu.org; Sun, 12 Aug 2007 18:54:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IKMKg-00036I-2J for emacs-devel@gnu.org; Sun, 12 Aug 2007 18:54:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKMKf-00035s-NR for emacs-devel@gnu.org; Sun, 12 Aug 2007 18:54:49 -0400 Original-Received: from server1.f7.net ([64.34.169.74] helo=f7.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IKMKc-0006Y0-PS; Sun, 12 Aug 2007 18:54:47 -0400 X-Envelope-From: karl X-Envelope-To: rms@gnu.org Original-Received: (from karl@localhost) by f7.net (8.11.7-20030920/8.11.7) id l7CMs1S25254; Sun, 12 Aug 2007 17:54:01 -0500 In-Reply-To: X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:76407 Archived-At: You may be better off changing to not use font-lock, and then provide a patch for it: I'd consider it as a bug-fix. Well, these functions never relied on font-lock before 22.1, so I hope there was some excellent reason for going to all the trouble of implementing it that way. Now going to even more trouble to unimplement it seems painful, although I don't expect we can just revert, either. Sigh. most faces to look like `default' because I find them annoying/useless Maybe the defaults should be less fancy. But that's a different discussion. (e.g. font-lock-keyword-face). I have a lot of trouble figuring out the face names to disable; it takes me major research to get from output in some non-default face in some buffer back to the actual face-symbol to disable. (This is why I was devoutly hoping that "(global-font-lock-mode 0)" would just work.) Eli's mention of "C-u C-x =" is very helpful, I had missed that in the manual. When I run it in the filenames in the grep output (after -nw this time), I see the face listed as "(compilation-info underline underline)". And unfortunately, I have no idea how to translate that into a face name to disable without delving into the sources, which is what I was doing anyway. Oh well. Is there a better way? Meanwhile, I have also never been able to figure out how to disable an individual face (and could find no documentation about it, either). I gather I'm supposed to set whatever-face-symbol to 'default or "default" or something? Can you show me how you do it, please? (For example, it occurred to me that another way to achieve my faceless desires would be to somehow define "bold", "italic", and so on to all map to "default". No luck with anything I tried in that direction, either.) Thanks, Karl