From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Java support in 21.3 Date: Tue, 11 Jan 2005 13:11:11 -0700 Message-ID: <34iq73F4a96ptU1@individual.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1105474424 22816 80.91.229.6 (11 Jan 2005 20:13:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Jan 2005 20:13:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 11 21:13:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CoSOW-0003rB-00 for ; Tue, 11 Jan 2005 21:13:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CoSa5-0003qa-T2 for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Jan 2005 15:25:33 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 55 Original-X-Trace: individual.net 6vViXYKs9C7nrBlq6FFSMAb0uVAj63oDTbSa4JnZ2vsAzLpgs= User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:127799 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:23276 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23276 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