From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: James Davidson Newsgroups: gmane.emacs.help Subject: Re: Java support in 21.3 Date: Mon, 10 Jan 2005 14:07:59 -0800 Organization: Sun Microsystems Corporation Message-ID: <41E2FCBF.2000609@sun.com> 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 1105394950 25660 80.91.229.6 (10 Jan 2005 22:09:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Jan 2005 22:09:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 10 23:09:01 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 1Co7if-0001OV-00 for ; Mon, 10 Jan 2005 23:09:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Co7u9-0003FP-NK for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Jan 2005 17:20:53 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed.pnap.net!brmea-news-1.sun.com!news1nwk.sfbay.sun.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 53 Original-NNTP-Posting-Host: d-mpk16-75-242.sfbay.sun.com Original-X-Trace: news1nwk.SFbay.Sun.COM 1105394881 3108 129.146.75.242 (10 Jan 2005 22:08:01 GMT) Original-X-Complaints-To: usenet@news1nwk.sfbay.sun.com Original-NNTP-Posting-Date: Mon, 10 Jan 2005 22:08:01 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:127777 X-Originally-To: Jim Perrin 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:23247 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23247 On 1/10/05 11:02 AM, 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)) Here's an issue: You're using quite an old version of the JDE. Even if it works with 21.3 (I assume it does), you don't seem to have all the supporting files you need. I can't provide specific information, because I'm using the latest JDE release (2.3.5). I'm using a bundle called CEDET (Collection of Emacs Development Environment Tools), which includes senator as part of semantic. You could consider upgrading to 2.3.5. If you want to stick with your current version, you need to find out where senator-minor-mode is defined, and make sure that file is included in your load path. -Jim