Re: Trying out the new JDEE

[email protected] Sun, 6 Sep 2015 17:00:34 +0100
Newsgroups gmane.emacs.jdee.devel
Message-ID <[email protected]>
--===============5993138040416277121==
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: quoted-printable

=3D=3FUTF-8=3FQ=3FPrzemys=3Dc5=3D82aw=5FWojnowski=3F=3D writes:
 > Please always provide Emacs version when reporting problems. :-)

GNU Emacs 24.3.1 (x86=5F64-slackware-linux-gnu, GTK+ Version 2.24.17) o=
f 2013-04-23 on hive64

 > > 1. Line 71 in jdee-imenu.el contains the following:
 > >      ("static"        . =3F=1B,AC=82B'=1B(B)              ; =1B,AC=
=82B'=1B(B
 > >
 > > When I load JDEE on my system, it fails with the error
 > > load-with-code-conversion: Invalid read syntax: "=3F" I think it's=

 > > a charset problem but I'm not sure what's supposed to be here.
 > > Commenting it out makes JDEE load file
 > What is output of: M-x describe-current-coding-system

iso-latin-1-unix. I've put the full output at the bottom of the mail.

 > If it's not UTF-8, then please change the first line to:
 > ;;; jdee-imenu.el --- imenu setup for the JDE -*-coding: utf-8;-*-
 > and try again. If that works let us know or create Pull Request on G=
H.

Yup. That fixed it, thanks.

 > > 3. If I open a simple Java file from my home dir it tries sucking
 > > up the entire tree as a classpath. This takes forever and seems a
 > > bit silly. I tried adding some system.out/err messages to the code=

 > > to troubleshoot it but the messages didn't appear in the *Messages=
*
 > > buffer. I can't see where in the code is the bit that makes this
 > > work. Any pointers=3F
 > Are you able to create a sample project (link to GH repo is fine) th=
at
 > would recreate that problem or at least steps that I would need to
 > follow to recreate the behavior=3F
 > I also open Java files and don't have this problem. But maybe I'm
 > missing something.

richard@donapaz $ cat ~/Simple.java
public class Simple {
    public static void main(String[] args) throws Exception {
        ArrayList runCcCvCzOnMyAndWatchMeChurn =3D new ArrayList<>();
    }
}
richard@donapaz $=20

Load this, then run C-c C-v C-z to import ArrayList. On my box it takes=

around half a minute. For a well-laid out project it trawls through the=

project structure. For simple throwaway code like this, it trawls throu=
gh
the entire file system. My guess is there's a !=3D "", length() > 0 or
equivalent check missing somewhere.

Thanks,

Richard





Full output for coding:

Coding system for saving this buffer:
  Not set locally, use the default.
Default coding system (for new files):
  1 -- iso-latin-1-unix (alias: iso-8859-1-unix latin-1-unix)

Coding system for keyboard input:
  1 -- iso-latin-1-unix (alias: iso-8859-1-unix latin-1-unix)

Coding system for terminal output:
  1 -- iso-latin-1-unix (alias: iso-8859-1-unix latin-1-unix)

Coding system for inter-client cut and paste:
  nil
Coding systems for process I/O:
  encoding input to the process: 1 -- iso-latin-1-unix (alias: iso-8859=
-1-unix latin-1-unix)

  decoding output from the process: 1 -- iso-latin-1-unix (alias: iso-8=
859-1-unix latin-1-unix)

Defaults for subprocess I/O:
  decoding: 1 -- iso-latin-1-unix (alias: iso-8859-1-unix latin-1-unix)=


  encoding: 1 -- iso-latin-1-unix (alias: iso-8859-1-unix latin-1-unix)=



Priority order for recognizing coding systems when reading files:
  1. iso-latin-1 (alias: iso-8859-1 latin-1)
  2. utf-8 (alias: mule-utf-8)
  3. iso-2022-7bit=20
  4. iso-2022-7bit-lock (alias: iso-2022-int-1)
  5. iso-2022-8bit-ss2=20
  6. emacs-mule=20
  7. raw-text=20
  8. iso-2022-jp (alias: junet)
  9. in-is13194-devanagari (alias: devanagari)
  10. chinese-iso-8bit (alias: cn-gb-2312 euc-china euc-cn cn-gb gb2312=
)
  11. utf-8-auto=20
  12. utf-8-with-signature=20
  13. utf-16=20
  14. utf-16be-with-signature (alias: utf-16-be)
  15. utf-16le-with-signature (alias: utf-16-le)
  16. utf-16be=20
  17. utf-16le=20
  18. japanese-shift-jis (alias: shift=5Fjis sjis)
  19. chinese-big5 (alias: big5 cn-big5 cp950)
  20. undecided=20

  Other coding systems cannot be distinguished automatically
  from these, and therefore cannot be recognized automatically
  with the present coding system priorities.

Particular coding systems specified for certain file names:

  OPERATION=09=09=09=09TARGET PATTERN=09=09=09=09CODING SYSTEM(s)
  ---------=09=09=09=09--------------=09=09=09=09=09=09=09 ------------=
----
  File I/O      "\\.dz\\'"              (no-conversion . no-conversion)=

                "\\.xz\\'"              (no-conversion . no-conversion)=

                "\\.lzma\\'"            (no-conversion . no-conversion)=

                "\\.lz\\'"              (no-conversion . no-conversion)=

                "\\.g=3Fz\\'"             (no-conversion . no-conversio=
n)
                "\\.\\(=3F:tgz\\|svgz\\|sifz\\)\\'"
                                        (no-conversion . no-conversion)=

                "\\.tbz2=3F\\'"           (no-conversion . no-conversio=
n)
                "\\.bz2\\'"             (no-conversion . no-conversion)=

                "\\.Z\\'"               (no-conversion . no-conversion)=

                "\\.elc\\'"             utf-8-emacs
                "\\.utf\\(-8\\)=3F\\'"    utf-8
                "\\.xml\\'"             xml-find-file-coding-system
                "\\(\\`\\|/\\)loaddefs.el\\'"
                                        (raw-text . raw-text-unix)
                "\\.tar\\'"             (no-conversion . no-conversion)=

                "\\.po[tx]=3F\\'\\|\\.po\\."
                                        po-find-file-coding-system
                "\\.\\(tex\\|ltx\\|dtx\\|drv\\)\\'"
                                        latexenc-find-file-coding-syste=
m
                ""                      (undecided)
  Process I/O=09=09nothing specified
  Network I/O=09=09nothing specified


--===============5993138040416277121==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============5993138040416277121==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
jdee-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-devel

--===============5993138040416277121==--