help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java support in 21.3


From: Kevin Rodgers
Subject: Re: Java support in 21.3
Date: Tue, 11 Jan 2005 13:11:11 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Jim Perrin wrote:
> Please forgive me if I ask a question that has been answered previously
> (even many times before)...
>
> I am trying to upgrade to 21.3, but my .emacs file from 20.3 is not
> working.  When it loads, it gives me an error:
>
> ////////
> An error has occurred while loading `c:/_emacs':
>
> Symbol's value as variable is void: senator-minor-mode
>
> To ensure normal operation, you should investigate the cause
> of the error in your initialization file and remove it.  Start
> Emacs with the `--debug-init' option to view a complete error
> backtrace
> ///////
>
> The file works fine for my old version.  I try to find a new version of
> the .emacs file, but I am having a hard time understanding it.  The root
> of the problem is that Emacs has to look as close as possible on windows
> as it already looks on the unix systems we have here.  So, not
> understanding what alot of the options mean, how do I change my current
> .emacs file to work with 21.3?  Below is a copy of my current file:
...
> (setq load-path
>       (nconc
>        '(
>      "~/emacs-20.7/site-lisp/elib-1.0"
>      "~/emacs-20.7/site-lisp/semantic-1.3.2"
>      "~/emacs-20.7/site-lisp/speedbar-0.13a"
>      "~/emacs-20.7/site-lisp/eieio-0.15"
>      "~/emacs-20.7/site-lisp/jde-2.2.6/lisp"
>      )
>        load-path))

Well, that might be a problem when running 21.3.  I would copy the
~/emacs-20.7 directory tree to ~/emacs-21.3, recompile all the .elc
files, and change the above to use the correct version:

(setq load-path
      (nconc (mapcar (lambda (subdir)
                       (format "~/emacs-%d.%d/%s"
                               emacs-major-version
                               emacs-minor-version
                               subdir))
                     '("elib-1.0"
                       "semantic-1.3.2"
                       "speedbar-0.13a"
                       "eieio-0.15"
                       "jde-2.2.6/lisp"))
             load-path))

--
Kevin Rodgers

reply via email to

[Prev in Thread] Current Thread [Next in Thread]