From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: font-lock not working correctly Date: Mon, 27 Dec 2004 00:02:06 +0100 Message-ID: <86mzw03bpt.fsf@ketchup.de.uu.net> References: <1103309362.4384.18.camel@ghreen> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1104102259 8897 80.91.229.6 (26 Dec 2004 23:04:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 26 Dec 2004 23:04:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 27 00:04:13 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CihQr-0008PL-00 for ; Mon, 27 Dec 2004 00:04:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cihbd-0007IQ-CW for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Dec 2004 18:15:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CihbR-0007II-H4 for help-gnu-emacs@gnu.org; Sun, 26 Dec 2004 18:15:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CihbQ-0007Hz-ST for help-gnu-emacs@gnu.org; Sun, 26 Dec 2004 18:15:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CihbQ-0007Ho-QU for help-gnu-emacs@gnu.org; Sun, 26 Dec 2004 18:15:08 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CihPP-0005B5-GL for help-gnu-emacs@gnu.org; Sun, 26 Dec 2004 18:02:43 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CihPO-0003qF-00 for ; Mon, 27 Dec 2004 00:02:42 +0100 Original-Received: from pd951f642.dip.t-dialin.net ([217.81.246.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Dec 2004 00:02:42 +0100 Original-Received: from kai by pd951f642.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Dec 2004 00:02:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 18 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd951f642.dip.t-dialin.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:DMZEnWdqLw0TGT7blQo0f29klA0= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22987 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22987 Rodney Gordon II writes: > With my setup, font-lock never seems to highlight things like it should. > It highlights, but maybe only 2 or 3 colors. I have tried c files and > perl files, which work perfectly fine on others' systems with emacs (I > don't know if their system is different or not). I think there's a bug in your .emacs file. Start Emacs as follows: emacs -debug-init This ought to show you pretty clearly if there is a syntax error, and if so, where it is. (Hint: I suspect the cperl face definition, as off is not a valid face. You could try to use default instead of off...) Kai