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.bugs Subject: can't turn off font-lock Date: Sat, 11 Aug 2007 16:24:42 -0500 Message-ID: <200708112124.l7BLOgG19369@f7.net> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1186868432 2780 80.91.229.12 (11 Aug 2007 21:40:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Aug 2007 21:40:32 +0000 (UTC) To: bug-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 11 23:40:29 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IJyhA-0007cG-Mw for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Aug 2007 23:40:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJyhA-0000rG-7r for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Aug 2007 17:40:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IJyRx-0004kM-D0 for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2007 17:24:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IJyRw-0004ji-Hq for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2007 17:24:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJyRw-0004jH-Bn for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2007 17:24:44 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IJyRw-0007bV-6U for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2007 17:24:44 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IJyV5-0004JQ-Df for bug-emacs@gnu.org; Sat, 11 Aug 2007 17:27:59 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IJyRv-0007bC-61 for bug-emacs@gnu.org; Sat, 11 Aug 2007 17:24:43 -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 1IJyRu-0007b1-RJ for bug-emacs@gnu.org; Sat, 11 Aug 2007 17:24:43 -0400 X-Envelope-From: karl@freefriends.org X-Envelope-To: bug-emacs@gnu.org Original-Received: (from karl@localhost) by f7.net (8.11.7-20030920/8.11.7) id l7BLOgG19369; Sat, 11 Aug 2007 16:24:42 -0500 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 11 Aug 2007 17:40:25 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16323 Archived-At: The Emacs 22.1 manual, Font Lock node, says: If you do not wish Font Lock mode to be turned on by default, customize the variable `global-font-lock-mode' using the Customize interface (*note Easy Customization::), or use the function `global-font-lock-mode' in your `.emacs' file, like this: (global-font-lock-mode 0) Ok, so I start Emacs like this: emacs-22.1 -q --no-site And invoke: M-x eval-expression RET (global-font-lock-mode 0) RET And now I try a few commands: C-h a font-lock RET (a *Help* buffer) M-x grep RET e /etc/issue RET (grep to get a couple matches) M-x shell RET pwd RET In all cases, I observe that fontification is happening. Argh! E.g., the "pwd" is highlighted, the grep matches and filenames are highlighted, the *Help* buffer is fancily formatted. I also tried (setq font-lock-maximum-size 0). Also no visible de-fontifying. I also tried with -nw, for Emacs in an xterm. Same fontified results, now in the usual xterm-ish ways (underlines and emboldening). It seems either the manual or the behavior should be fixed. (Also, if anyone has any details about how I can really turn font-lock off, that would be great.) Thanks, Karl P.S. I also tried customize-group on font-lock-faces, as suggested a little further in the node, and the interface completely defeated me. I could not tell how to turn anything off completely, only how to select various attributes.