Hello Jeff,

>Well,  I think I found it, although I don't quite understand what's
>going on.  The following code:
>
> (defun my-java-hook ()
>  "My local settings for Java"
>  (c-set-style "java")
>  (c-set-offset 'substatement-open 0)
>  )
>(setq java-mode-hook 'my-java-hook)
>
>appeared to disable Senator-minor-mode, which resulted in the java
>source not being parsed (I'm assuming), which in turn resulted in the
>*ECB Methods* window not being populated.
>
>Can anyone explain this?

Yes, I think you must use (add-hook 'java-mode-hook 'my-java-hook) instead of setq ;-)

Sincerely,
David



__________________________________________________
Voila vous propose une boite aux lettres gratuite sur Voila Mail:
http://mail.voila.fr



Reply via email to