unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Rodney Gordon II <meff@pobox.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: font-lock not working correctly
Date: Fri, 17 Dec 2004 15:45:49 -0600	[thread overview]
Message-ID: <1103319949.4384.36.camel@ghreen> (raw)
In-Reply-To: <A2348F12-5070-11D9-8EDB-000D932A32C4@Web.DE>


[-- Attachment #1.1: Type: text/plain, Size: 1660 bytes --]

On Fri, 2004-12-17 at 22:14 +0100, Peter Dyballa wrote:
> Am 17.12.2004 um 19:49 schrieb Rodney Gordon II:
> 
> > I load is color-theme.el and cperl-mode.el
> 
> Check whether your colour theme changes things to dull! This can be 
> done by M-x list-faces-display (also Edit menu -> Text properties -> 
> 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 
> copy of this at the end (after 1. loading color-theme and setting your 
> theme, 2. customizing font-lock as maximum) of your .emacs. Since you 
> have a screenshot you could try to change some colours ans see whether 
> 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
-- 
Rodney Gordon II (meff)             |         meff <at> pobox <dot> com
http://www.spherevision.org         |                      AIM: mefforz

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

  reply	other threads:[~2004-12-17 21:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-17 18:49 font-lock not working correctly Rodney Gordon II
2004-12-17 20:09 ` Peter Dyballa
2004-12-17 20:36   ` Rodney Gordon II
2004-12-17 20:43 ` Peter Dyballa
2004-12-17 20:58   ` Rodney Gordon II
2004-12-17 21:14 ` Peter Dyballa
2004-12-17 21:45   ` Rodney Gordon II [this message]
2004-12-26 23:02 ` Kai Grossjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1103319949.4384.36.camel@ghreen \
    --to=meff@pobox.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).