Thanks for the help.

I'd like to find the cause of the problem, though, rather than finding a
workaround.

Is there something wrong with my code?  Am I not understanding the
configuration correctly?  Is this a bug in JDE?

I'll repost my code below:

(defun my-jde-mode-hook ()
  (message "my-jde-mode-hook function executed")
  (custom-set-variables
   '(jde-use-font-lock nil))
  (custom-set-faces)
)
(add-hook 'jde-mode-hook 'my-jde-mode-hook)

And here's the message that I get:
jde-java-font-lock: building names cache...empty

Thanks, again, for your help.

Scott



David Ponce wrote:

> Hello,
>
> > I'm trying to turn JDE font locking off and use the default
> > font-locking that comes with Emacs.
> [...]
> > That didn't seem to work.  I get the following message:
> > jde-java-font-lock: building names cache...empty
> > Am I doing this correctly?  If not, is there another way to do it
> > besides editing the source?
>
> You can always use the default keywords provided by font-lock if you
> add the following to `jde-mode-hook' like this:
>
> (defun my-jde-mode-font-lock ()
>   ;; Use java-font-lock-keywords-3
>   (setq font-lock-maximum-decoration 3)
>   (if (featurep 'xemacs)
>       (font-lock-recompute-variables)))
>
> (add-hook 'jde-mode-hook #'my-jde-mode-font-lock t)
>
> Hope this helps.
>
> Sincerely,
> David
>
> __________________________________________________
> Voila vous propose une boite aux lettres gratuite sur Voila Mail:
> http://mail.voila.fr

Reply via email to