Stephane
Mon, 08 Jan 2001 18:20:27 -0800
Hello Daniel, I experienced the same problem. Check your .emacs file and look if you ever set something like (add-hook 'java-mode-hook (lambda () (font-lock-mode))) If so or you ever set your font lock mode to on, it could cause some troubles. I don't know why but it worked for me. Hope this helps. STeff Daniel Eklund wrote: > I am experiencing a loss of font-lock with the > new release. (specifically with the 'default' face overwriting > the font lock highlighting faces) > > I like to invert my colors (black background and white default)... > The offending line seems to be around custom-defining > my 'default' to be white > > (custom-set-faces > '(default ((t (:foreground "white"))) > ; all other non-offending faces included here. > ) > > When I switch out of jde-mode to java-mode, it treats my > font locks properly... > > Anyway, I'm using NT Emacs 20.7.1 and JDE 2.2.6.2. and have > tried the same _emacs file on my old machine running pre-2.2.6 JDE > where it worked fine. > > Thanks, > Daniel Eklund > > ----- Original Message ----- > From: "David Ponce" <[EMAIL PROTECTED]> > To: "jde" <[EMAIL PROTECTED]> > Cc: "david" <[EMAIL PROTECTED]>; "Paul Kinnucan" <[EMAIL PROTECTED]> > Sent: Thursday, January 04, 2001 10:00 PM > Subject: New jde-java-font-lock.el > > Hello All, > > Attached is an improved version of jde-java-font-lock.el. I > successfully use it with GNU Emacs 20.7, 21.0 and XEmacs 21.1. > > The major change is that you can get now the same level of font > locking in both GNU Emacs and XEmacs (at least with the version 21.1 I > installed on my NT box). > > Please try it :-) > > Any feedback will be appreciated. > > Sincerely, > David