From: clc5q AT cobra DOT cs DOT Virginia DOT EDU (Clark L. Coleman) Newsgroups: comp.os.msdos.djgpp Subject: DJGPP/NT4.0: Emacs cannot find cc-mode Date: 21 Feb 2001 18:28:43 GMT Organization: University of Virginia Computer Science Department Lines: 39 Message-ID: <9711cr$k2r$1@murdoch.acc.Virginia.EDU> NNTP-Posting-Host: cobra.cs.virginia.edu X-Trace: murdoch.acc.Virginia.EDU 982780123 20571 128.143.137.16 (21 Feb 2001 18:28:43 GMT) X-Complaints-To: abuse AT virginia DOT edu NNTP-Posting-Date: 21 Feb 2001 18:28:43 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have a download of DJGPP for Windows NT which includes "GNU Emacs 20.5 (i386-pc-msdosdjgpp) of Sun Mar 19 2000." (This is what emacs prints when you pull down Help->Show Version.) When I try to open a C header or source file from within emacs, using C-x f or the Files->Open File pull down, it produces the message: File mode specification error: (file-error "Cannot open load file" "cc-mode") The emacs executable is in E:\djgpp\gnu\emacs\bin\emacs.exe. I can see the following in the Windows NT Explorer: E:\djgpp\gnu\emacs\lisp\progmodes\cc-mode.el E:\djgpp\gnu\emacs\lisp\progmodes\cc-mode.elc I unzipped with long file name support, and everything else in DJGPP seems to work fine. Any ideas? Also, even though Windows NT Explorer will show a file with a long file name: E:\save_pmpapi.c If I double-click on that file name, it opens emacs on it, but emacs calls it "save_p~1.c". If I try to open this file from within emacs using C-x f or File->Open File, it won't find the long filename version on disk. I used to use a version of emacs 19.34 for NT that someone had online in binary form. I still have the binaries on diskettes, but I was hoping to use the emacs that was installed with DJGPP and not have to install a different version. The other version had none of these problems. Thanks for any help.