I hit this problem and wrote to Artur Hefczyc
<[EMAIL PROTECTED]> who looks after cedet. His reply was
Google search suggests that maybe this is an "old" non-CVS version of
emacs, but it isn't that old! (Fedora distro was only out a few months
ago.)
Not that old, indeed. However AFAIK there are some significant changes
in emacs-cvs - that's why I use it.
But I still doubt it is just emacs version problem.
JDEE and required libraries are NOT implemented for emacs-cvs version
only.
custom-autoload is emacs-cvs function only as you said.
And to tell you the true I don't know how to solve you problem as I am
not emacs hacker, I am just emacs user.
I suggest you to ask on jdee mailing list or on cedet mailing list.
It looks like they know something about this problem but I could
find any specific solution yet.
Maybe you could start from this point:
http://sourceforge.net/mailarchive/forum.php?thread_id=4144044&forum_id=4869
I am sorry I can be more helpful.
good luck
Artur
So I went back to the individual packages and it works fine
Jan
--
On Mon, 1 Nov 2004, Paul Kinnucan wrote:
fred astaire writes:
> Howdy,
>
> I have just installed emacs version 21.2.1 on Windows
> 2000. I then installed Cygwin and ran the
> install-jde.sh script with the following results:
>
> Warning! Please note, this script now uses CEDET -
> all in one packages
> instead of separate packages for additional tools
> like:
> EIEIO, SEMANTIC and SPEEDBAR.
> Don't forget to change load-path settings to include
> 'cedet/package' instead of separate 'package'.
> You can do it just to replace existings setting with
> one simple:
> (load-file
> "~/.emacs.d/site-lisp/cedet/common/cedet.el")
>
> 10:13:37 URL:http://jdee.sunsite.dk/jde-beta.tar.gz
> [3675721/3675721] -> "jde-tmp/jde.tar.gz" [1]
> 10:13:40 URL:http://jdee.sunsite.dk/elib-1.0.tar.gz
> [58335/58335] -> "jde-tmp/elib.tar.gz" [1]
> 10:14:15
> URL:http://heanet.dl.sourceforge.net/sourceforge/cedet/cedet-1.0beta3a.tar.gz
> [1270296/1270296] -> "jde-tmp/cedet.ta
> r.gz" [1]
> 10:14:22 URL:http://www.beanshell.org/bsh-2.0b2.jar
> [280737/280737] -> "jde-tmp/bsh.jar" [1]
> tar (GNU tar) 1.13.25 Copyright (C) 2001 Free Software
> Foundation, Inc. This program comes with NO WARRANTY,
> to the extent pe
> rmitted by law. You may redistribute it under the
> terms of the GNU General Public License; see the file
> named COPYING for det
> ails. Written by John Gilmore and Jay Fenlason.
>
> Warning! Please note, this script now uses CEDET -
> all in one packages
> instead of separate packages for additional tools
> like:
> EIEIO, SEMANTIC and SPEEDBAR.
> Don't forget to change load-path settings to include
> 'cedet/package' instead of separate 'package'.
> You can do it just to replace existings setting with
> one simple:
> (load-file
> "~/.emacs.d/site-lisp/cedet/common/cedet.el")
>
>
> I then copied the contents of ~/.emacs.d/site-lisp to
> /emacs/addons
>
> Finally, I created the minimal .emacs file:
>
> (load-file "c:/emacs/addons/cedet/common/cedet.el")
> (add-to-list 'load-path "c:/emacs/addons/elib")
> (add-to-list 'load-path "c:/emacs/addons/jde/lisp")
>
> (require 'jde)
>
> and when I start emacs, I get:
>
> Debugger entered--Lisp error: (void-function
> custom-autoload)
Hi Fred,
I've never encountered this problem myself on either Linux or
Windows. However, a colleague had the same problem on his
Linux machine. I searched but could not find any package
on his machine that defines a symbol named custom-autoload.
It was very frustrating.
Anyway, in desperation, I suggested that
my colleague try putting the following dummy function
in his .emacs file:
(defun custom-autoload (&rest args))
That seemed to work.
I hope somebody else can shed some light on this phantom
function. I've grepped through all the Lisp files on
my Windows machine and cannot find any Lisp file that defines this
function. It's very bizarre.
Paul
> (custom-autoload (quote
> global-semantic-decoration-mode)
> "semantic-decorate-mode")
> eval-buffer(#<buffer *load*<4>> nil
> "semantic-loaddefs" nil t)
>
> load-with-code-conversion("c:/emacs/addons/cedet/semantic/semantic-loaddefs.el"
> "semantic-loaddefs" nil t)
> load("semantic-loaddefs" nil t)
> require(semantic-fw)
> eval-buffer(#<buffer *load*<3>> nil "semantic-load"
> nil t)
>
> load-with-code-conversion("c:/emacs/addons/cedet/semantic/semantic-load.el"
> "semantic-load" nil t)
> require(semantic-load)
> eval-buffer(#<buffer *load*<2>> nil "jde" nil t)
>
> load-with-code-conversion("c:/emacs/addons/jde/lisp/jde.el"
> "jde" nil t)
> require(jde)
> eval-buffer(#<buffer *load*> nil "~/.emacs" nil t)
> load-with-code-conversion("c:/.emacs" "~/.emacs" t
> t)
> load("~/.emacs" t t)
> #[nil " (*followed by control characters*)
> command-line()
> normal-top-level()
>
> The messages buffer reads:
> (C:\emacs\bin\emacs.exe --debug-init)
> Loading c:/emacs/addons/cedet/common/cedet.el
> (source)...
> "c:/emacs/addons/cedet/common/" added to `load-path'
> Loading cl-macs...done
> "c:/emacs/addons/cedet/cogre" added to `load-path'
> "c:/emacs/addons/cedet/ede" added to `load-path'
> "c:/emacs/addons/cedet/eieio" added to `load-path'
> "c:/emacs/addons/cedet/semantic" added to `load-path'
> "c:/emacs/addons/cedet/speedbar" added to `load-path'
> "c:/emacs/addons/cedet/contrib" added to `load-path'
> Setting up cedet...done
> Setting up cogre...done
> Setting up ede...done
> Setting up eieio...done
> Setting up semantic...
> Loading derived...done
> Loading advice...done
> Loading font-lock...
> Loading regexp-opt...done
> Loading font-lock...done
> Loading c:/emacs/bin/fns-21.2.1.el (source)...done
> eval-buffer:
> Symbol's function definition is void: custom-autoload
> Setting up speedbar...done
> Setting up cedet-contrib...done
> Loading c:/emacs/addons/cedet/common/cedet.el
> (source)...done
> Loading image...done
> Loading easymenu...done
> eval-buffer:
> Loading debug...done
> Entering debugger...
> [2 times]
>
>
> Any help in getting up and running, including perhaps
> getting different versions of the components would be
> most appreciated.
>
> Frank
>
> Find local movie times and trailers on Yahoo! Movies.
> http://au.movies.yahoo.com
Jan Newmarch, School of Network Computing
Monash University
Email: [EMAIL PROTECTED]
WWW: http://jan.netcomp.monash.edu.au
Tel: +61 3 9904 4249, Fax: +61 3 9904 4124
(ESOS: Monash Provider No. 00008C)
If Pacman had affected us as kids, we'd be running around in dark rooms,
munching pills and listening to repetitive music (Marcus Brigstocke)