Mail Archives: djgpp/2000/10/29/03:32:50
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.
- Raw text -