Title: font lock for local variables

Hi,
        Just wondering, would it be possible to use the JDE semantic "knowledge" about a Java file to assign a font lock specifically for local variables?

        This would be wonderful to catch those situations where you create a local variable that "eclipses" a class data member, and end up making an update that loses effect as soon as the scope is closed... Naming conventions help, but if you're reading someone else's code that don't use them, you're out of luck!

        Regards,

                Nascif A.A. Neto

> -----Original Message-----
> From: Dr. Volker Zell [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, March 11, 2001 3:56 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Problems with experimental versions of jde and semantic
>
>
> Hi Steve
>
> I'm testing your experimental versions of the following packages:
>
> jde-1.25-pkg.tar.gz
> semantic-1.05-pkg.tar.gz       
> eieio-1.01-pkg.tar.gz            - seems to work
>
>
> Here a couple of problems with your versions of semantic, and jde:
>
> First of all jde-1.25-pkg.tar.gz is missing
> jde-package.el/elc. If I copy that from the
> normal jde distribution jde starts up.
>
> JDE and JDebug docu are not found through menu. This is
> because first, JDE docu is missing
> from your tar.gz file and second, the lisp code is searching
> for the html files under the wrong
> directories.
>
> This fixes the directories:
>
>
> diff -c
> /usr/local/lib/xemacs/xemacs-packages/lisp/jde/jde.el~
> /usr/local/lib/xemacs/xemacs-packages/lisp/jde/jde.el
> *** /usr/local/lib/xemacs/xemacs-packages/lisp/jde/jde.el~   
> Sat Mar 10 23:05:58 2001
> --- /usr/local/lib/xemacs/xemacs-packages/lisp/jde/jde.el    
> Sat Mar 10 23:05:58 2001
> ***************
> *** 1289,1295 ****
>             (if jde-dir
>                 (if (and jde-xemacsp
>                          (locate-data-directory "jde"))
> !                   (expand-file-name "jde-ug.html" jde-dir)
>                   (expand-file-name
> "doc/html/jde-ug/jde-ug.html" jde-dir)))))      
>       (if (and
>            jde-help
> --- 1289,1295 ----
>             (if jde-dir
>                 (if (and jde-xemacsp
>                          (locate-data-directory "jde"))
> !                   (expand-file-name
> "doc/html/jde-ug/jde-ug.html" jde-dir)
>                   (expand-file-name
> "doc/html/jde-ug/jde-ug.html" jde-dir)))))      
>       (if (and
>            jde-help
>
>
> diff -c
> /usr/local/lib/xemacs/xemacs-packages/lisp/jde/jde-bug.el~
> /usr/local/lib/xemacs/xemacs-packages/lisp/jde/jde-bug.el
> ***
> /usr/local/lib/xemacs/xemacs-packages/lisp/jde/jde-bug.el~   
> Sat Mar 10 23:07:05 2001
> --- /usr/local/lib/xemacs/xemacs-packages/lisp/jde/jde-bug.el
> Sat Mar 10 23:07:05 2001
> ***************
> *** 2569,2575 ****
>             (if jde-dir
>                 (if (and jde-xemacsp
>                          (locate-data-directory "jde"))
> !                   (expand-file-name "jdebug-ug.html" jde-dir)
>                   (expand-file-name
> "doc/html/jdebug-ug/jdebug-ug.html" jde-dir)))))      
>       (if (and
>            jdebug-help
> --- 2569,2575 ----
>             (if jde-dir
>                 (if (and jde-xemacsp
>                          (locate-data-directory "jde"))
> !                   (expand-file-name
> "doc/html/jdebug-ug/jdebug-ug.html" jde-dir)
>                   (expand-file-name
> "doc/html/jdebug-ug/jdebug-ug.html" jde-dir)))))      
>       (if (and
>            jdebug-help
>
>
> o Also missing is the
> /usr/local/lib/xemacs/xemacs-packages/etc/jde/doc/tli_rbl/ directory
>   structure. This results in not loading the applet in the
> JDE help files.
>
>
> o The import class and implement interface wizards give
> errors of the following kind:
>
> Imported java.applet.Applet
> Invalid function: (macro . #<compiled-function (token)
> "...(6)" [token semantic-overlay-start
> semantic-token-overlay] 3
> ("/usr/local/lib/xemacs/xemacs-packages/lisp/semantic/semantic
> -util.elc" . 1624)>)
>
>
> This seems to be related with the byte compilation of
> semantic. It used to work with semantic
> when it's not byte compiled. Anyway both commands produce the
> desired output but the error messages
> are annoying.
>
> Ciao
>   Volker
>
>

Reply via email to