From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rodney Gordon II Newsgroups: gmane.emacs.help Subject: Re: font-lock not working correctly Date: Fri, 17 Dec 2004 15:45:49 -0600 Message-ID: <1103319949.4384.36.camel@ghreen> References: <1103309362.4384.18.camel@ghreen> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1761786257==" X-Trace: sea.gmane.org 1103320134 1943 80.91.229.6 (17 Dec 2004 21:48:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Dec 2004 21:48:54 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 17 22:48:44 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 1CfPxs-0003tq-00 for ; Fri, 17 Dec 2004 22:48:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CfQ8B-0005rh-Lu for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Dec 2004 16:59:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CfQ83-0005rQ-1T for help-gnu-emacs@gnu.org; Fri, 17 Dec 2004 16:59:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CfQ81-0005qr-VC for help-gnu-emacs@gnu.org; Fri, 17 Dec 2004 16:59:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CfQ81-0005qa-Rr for help-gnu-emacs@gnu.org; Fri, 17 Dec 2004 16:59:13 -0500 Original-Received: from [207.8.226.5] (helo=orb.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CfPv7-0000VJ-3H for help-gnu-emacs@gnu.org; Fri, 17 Dec 2004 16:45:53 -0500 Original-Received: from orb (localhost [127.0.0.1]) by orb.pobox.com (Postfix) with ESMTP id 543BA2FAE9F; Fri, 17 Dec 2004 16:45:52 -0500 (EST) Original-Received: from adsl-69-150-56-165.dsl.austtx.swbell.net (adsl-69-150-56-165.dsl.austtx.swbell.net [69.150.56.165]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by orb.sasl.smtp.pobox.com (Postfix) with ESMTP id BBB0C2FAD9A; Fri, 17 Dec 2004 16:45:50 -0500 (EST) Original-To: Peter Dyballa In-Reply-To: X-Mailer: Evolution 2.0.3 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:22845 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22845 --===============1761786257== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Pb6fGwld8Fii3BiwLLV/" --=-Pb6fGwld8Fii3BiwLLV/ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2004-12-17 at 22:14 +0100, Peter Dyballa wrote: > Am 17.12.2004 um 19:49 schrieb Rodney Gordon II: >=20 > > I load is color-theme.el and cperl-mode.el >=20 > Check whether your colour theme changes things to dull! This can be=20 > done by M-x list-faces-display (also Edit menu -> Text properties ->=20 > List Faces). How many colours are there? Lots and lots of colors .. definately not what I'd call dull :) Tried just doing 'emacs -q' .. then load the file, then 'M-x cperl-mode', then 'M-x font-lock-mode' and it's all highlighted correctly. Yet, putting the same in my .emacs, it's messed up again. Seems the only way to get it to work is manually.. :/ > Check what cperl-mode.el contains to colourize the syntax and put a=20 > copy of this at the end (after 1. loading color-theme and setting your=20 > theme, 2. customizing font-lock as maximum) of your .emacs. Since you=20 > have a screenshot you could try to change some colours ans see whether=20 > this work. Things are correct when I do what I just said above, however I have a hard time believing its the color-theme.el because if I comment it out of my .emacs file, the highlighting is still broken. I have tried turning font-lock off, and then on again while I have the perl file loaded, no help. As fas as finding what cperl-mode uses to font-lock, I have no idea, because I am very new to lisp and just the sheer size of that file scares me :) Thanks for all your help, and I hope we can figure this out! -r --=20 Rodney Gordon II (meff) | meff pobox com http://www.spherevision.org | AIM: mefforz --=-Pb6fGwld8Fii3BiwLLV/ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBw1ONwAh1Un/0srwRAlrmAJ9jdj2w0YXVGokMr1m4z09ObHRWkgCg4g3R NYOihQt+kCvweZoetH6nnXc= =0VDQ -----END PGP SIGNATURE----- --=-Pb6fGwld8Fii3BiwLLV/-- --===============1761786257== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1761786257==--