Re: syntax highlighting isn't working
Torstein Krause Johansen <[email protected]> Sun, 25 Mar 2007 00:10:00 +0000 (UTC)
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
Adhamh Findlay <jdee <at> adhamh.com> writes:
> If I open a *.java file the sytax is not hightlighted, but if I do M-x
> font-lock-mode the syntax is suddenly highlighted. I don't have to do
> this for my .emacs or html files though. My .emacs file is available for
> inspection at http://adhamh.com/emacs.jdee.
Hi there,
this sounds like you're lacking a file association for Java files. I have a
long list like this (excerpt):
(setq auto-mode-alist
'(
("\\.bashrc\\'" . sh-mode)
("\\.bib\\'" . bibtex-mode)
("\\.java\\'" . jde-mode)))
-Torstein