Re: Cleaning up import statements
Matt, On Tue, 9 Apr 2002 10:50, WATSON Matt wrote: > Not jde related, but I wrote a shell script to wrap jad which would > decompile your class files, extract all the import statements it makes and > replace the imports in your source with the ones jad comes up with. Using > the right jad options, this allows you to have a full list of all the > classes you are using with no "import XXX.*;"s - I personally hate them. > If anyone's interested, I'll dig it out from home and post it here. > Could I see your shell script? Either directly or through the jde list. BTW, where do I find jad? Can't get to http://kpdus.tripod.com/jad.html at the moment. Thank you. regards, James
Repost: where is 'semantic-load' to be found?
Dear JDE users, Can anyone tell me where the file semantic-load.el might be found? jde.el fails on the statement, (require 'semantic-load). I cannot find `semantic-load.el' or 'sematic-load.elc' on my emacs installation or in any of the packages required by jde: semantic, speedbar, eieio, or e-lib. Would anyone be able to say where I should be able to find the file `semantic-load.el', or have I misunderstood the meaning of (require 'semantic-load). TIA James Sinnamon On Tuesday 05 March 2002 1:50 pm, James Sinnamon wrote: > Couls anyone out there please help someone who has > not used emacs for a while? > > I have installed all of the required files in ~/emacs/site/: > > lrwxrwxrwx1 sinnamon upside 11 Mar 5 10:37 eieio -> > eieio-0.16/ drwxr-xr-x2 sinnamon upside 1024 Feb 20 2001 > eieio-0.16 lrwxrwxrwx1 sinnamon upside 9 Mar 5 10:37 elib -> > elib-1.0/ drwxr-xr-x2 sinnamon upside 1024 Dec 11 1995 elib-1.0 > lrwxrwxrwx1 sinnamon upside 10 Mar 5 10:37 jde -> jde-2.2.8/ > drwxr-xr-x5 sinnamon upside 1024 Aug 24 2001 jde-2.2.8 > lrwxrwxrwx1 sinnamon upside 15 Mar 5 10:38 semantic -> > semantic-1.3.3/ > drwxr-xr-x2 sinnamon upside 1024 Mar 5 11:46 semantic-1.3.3 > lrwxrwxrwx1 sinnamon upside 15 Mar 5 10:37 speedbar -> > speedbar-0.13a/ > drwxr-xr-x2 sinnamon upside 1024 Oct 9 2000 speedbar-0.13a > > My ~/.emacs includes > > (add-to-list 'load-path (expand-file-name "~/emacs/site/jde/lisp")) > (add-to-list 'load-path (expand-file-name "~/emacs/site/semantic")) > (add-to-list 'load-path (expand-file-name "~/emacs/site/speedbar")) > (add-to-list 'load-path (expand-file-name "~/emacs/site/elib")) > (add-to-list 'load-path (expand-file-name "~/emacs/site/eieio")) > > The value of "load-path" is: > > ("/upside/home/sinnamon/emacs/site/eieio" > "/upside/home/sinnamon/emacs/site/elib" > "/upside/home/sinnamon/emacs/site/speedbar" > "/upside/home/sinnamon/emacs/site/semantic" > "/upside/home/sinnamon/emacs/site/jde/lisp" > "/usr/share/emacs/site-lisp/auctex/" "/usr/share/emacs/20.3/site-lisp" > "/usr/share/emacs/site-lisp" "/usr/share/emacs/20.3/leim" > "/usr/share/emacs/20.3/lisp" "/usr/share/emacs/20.3/lisp/textmodes" > "/usr/share/emacs/20.3/lisp/progmodes" "/usr/share/emacs/20.3/lisp/play" > "/usr/share/emacs/20.3/lisp/mail" "/usr/share/emacs/20.3/lisp/language" > "/usr/share/emacs/20.3/lisp/international" > "/usr/share/emacs/20.3/lisp/gnus" "/usr/share/emacs/20.3/lisp/emulation" > "/usr/share/emacs/20.3/lisp/emacs-lisp" > "/usr/share/emacs/20.3/lisp/calendar") > > When I start GNU emacs I get the message: > >Error in init file: File error: "Cannot open load file", "semantic-load" > > Alos, for what its worth, when attempt to byte comile semantic, I get > the error message: > > While compiling toplevel forms in file > /upside/home/sinnamon/emacs/site/semantic-1.3.3/semantic-sb.el: !! > Symbol's value as variable is void ((c-frame)) > While compiling the end of the data in file > /upside/home/sinnamon/emacs/site/semantic-1.3.3/working.el: > ** the function frame-property is not known to be defined. > > TIA > > James
"Cannot open load file", "semantic-load", please help
Couls anyone out there please help someone who has not used emacs for a while? I have installed all of the required files in ~/emacs/site/: lrwxrwxrwx1 sinnamon upside 11 Mar 5 10:37 eieio -> eieio-0.16/ drwxr-xr-x2 sinnamon upside 1024 Feb 20 2001 eieio-0.16 lrwxrwxrwx1 sinnamon upside 9 Mar 5 10:37 elib -> elib-1.0/ drwxr-xr-x2 sinnamon upside 1024 Dec 11 1995 elib-1.0 lrwxrwxrwx1 sinnamon upside 10 Mar 5 10:37 jde -> jde-2.2.8/ drwxr-xr-x5 sinnamon upside 1024 Aug 24 2001 jde-2.2.8 lrwxrwxrwx1 sinnamon upside 15 Mar 5 10:38 semantic -> semantic-1.3.3/ drwxr-xr-x2 sinnamon upside 1024 Mar 5 11:46 semantic-1.3.3 lrwxrwxrwx1 sinnamon upside 15 Mar 5 10:37 speedbar -> speedbar-0.13a/ drwxr-xr-x2 sinnamon upside 1024 Oct 9 2000 speedbar-0.13a My ~/.emacs includes (add-to-list 'load-path (expand-file-name "~/emacs/site/jde/lisp")) (add-to-list 'load-path (expand-file-name "~/emacs/site/semantic")) (add-to-list 'load-path (expand-file-name "~/emacs/site/speedbar")) (add-to-list 'load-path (expand-file-name "~/emacs/site/elib")) (add-to-list 'load-path (expand-file-name "~/emacs/site/eieio")) The value of "load-path" is: ("/upside/home/sinnamon/emacs/site/eieio" "/upside/home/sinnamon/emacs/site/elib" "/upside/home/sinnamon/emacs/site/speedbar" "/upside/home/sinnamon/emacs/site/semantic" "/upside/home/sinnamon/emacs/site/jde/lisp" "/usr/share/emacs/site-lisp/auctex/" "/usr/share/emacs/20.3/site-lisp" "/usr/share/emacs/site-lisp" "/usr/share/emacs/20.3/leim" "/usr/share/emacs/20.3/lisp" "/usr/share/emacs/20.3/lisp/textmodes" "/usr/share/emacs/20.3/lisp/progmodes" "/usr/share/emacs/20.3/lisp/play" "/usr/share/emacs/20.3/lisp/mail" "/usr/share/emacs/20.3/lisp/language" "/usr/share/emacs/20.3/lisp/international" "/usr/share/emacs/20.3/lisp/gnus" "/usr/share/emacs/20.3/lisp/emulation" "/usr/share/emacs/20.3/lisp/emacs-lisp" "/usr/share/emacs/20.3/lisp/calendar") When I start GNU emacs I get the message: Error in init file: File error: "Cannot open load file", "semantic-load" Alos, for what its worth, when attempt to byte comile semantic, I get the error message: While compiling toplevel forms in file /upside/home/sinnamon/emacs/site/semantic-1.3.3/semantic-sb.el: !! Symbol's value as variable is void ((c-frame)) While compiling the end of the data in file /upside/home/sinnamon/emacs/site/semantic-1.3.3/working.el: ** the function frame-property is not known to be defined. TIA James