Date: Sun, 29 Oct 2000 10:30:27 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Peter Erceg cc: djgpp AT delorie DOT com Subject: Re: emacs - cannot load c-mode In-Reply-To: <9cPK5.183$Ur6.239430800@news2.pvt.primus.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 28 Oct 2000, Peter Erceg wrote: > I downloaded em2005b.zip and unzipped it as per instructions in c:\djgpp. > When I enter "M-x c-mode" I get the following message: > Cannot recognize major version number: 20 I cannot reproduce this on my machine; for me it says: Loading cc-mode... done I suspect that one or more of the following is true: - you didn't unzip em2005li.zip - you are running an old or incompatible emacs.exe - you have an old c-mode module lurking somewhere on your Lisp load-path, and Emacs tries to load it - your _emacs init file somehow breaks the normal operation of C Mode To see which one of these is true, please do the following and post the results here: * make sure you have downloaded and installed em2005li.zip * invoke Emacs with "emacs -q" and see if "M-x c-mode RET" works * type "M-x emacs-version RET" and tell what does it print in the echo area * type "C-h f c-mode RET" and tell what does it display in a pop-up window * type "M-: loadpath RET" and tell what does it print Btw, you shouldn't need to load c-mode explicitly: Emacs automatically loads it and enters the C Mode when you visit a file whose extension shows it's a C or C++ file.