From: Alan Mackenzie <acm@muc.de>
To: help-gnu-emacs@gnu.org
Subject: Re: HELP with cc-mode and emacs
Date: Tue, 12 Jun 2007 16:55:09 +0100 [thread overview]
Message-ID: <20070612155509.GA3034@muc.de> (raw)
In-Reply-To: <Xns994C99B5E10Bchrisyahoocom@66.150.105.47>
> Hi all
> I downloaded the latest version of cc-mode (5.31.3) from http://cc-
> mode.sourceforge.net/. Stuck the files in a sub-dir and compiled per
> the instructions
> "emacs -batch -no-site-file -q -f batch-byte-compile cc-*.el"
> Got the following errors:
> Loading /usr/libexec/emacs/21.3/x86_64-redhat-linux/fns-21.3.1.el
> (source)...
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-align.elc
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-awk.elc
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-bytecomp.elc
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-cmds.elc
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-compat.elc
> While compiling the end of the data in file /net/wally/home/cfoster/.cc- mode-5.31.3/cc-defs.el:
> ** The function `delete-duplicates' might not be defined at runtime.
> ** The function `font-lock-compile-keywords' is not known to be
> defined.
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-defs.elc
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-engine.elc
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-fix.elc
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-fonts.elc
> While compiling the end of the data in file /net/wally/home/cfoster/.cc- mode-5.31.3/cc-guess.el:
> ** The following functions are not known to be defined:
> make-progress-reporter, progress-reporter-update,
> progress-reporter-done
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-guess.elc
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-langs.elc
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-lobotomy.elc
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-menus.elc
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-mode.elc
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-styles.elc
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-subword.elc
> Wrote /net/wally/home/cfoster/.cc-mode-5.31.3/cc-vars.elc
> Done
These messages aren't errors, they're just informational messages. Some
of them are XEmacs functions (CC Mode is intended to work with both GNU
Emacs and XEmacs), the other one (delete-duplicates) is a "CL" function.
(In the "Common Lisp" extension of Emacs Lisp). It looks like your CC
Mode has been properly compiled. :-)
(Incidentally, it is usually helpful to state what Emacs you're building
on (M-x emacs-version), although here it seems clear you're using GNU
Emacs 21.3)
> So, of course ....
??? :-)
> ... it blows up during the load of the .emacs.el file with the
> following error:
> (emacs .emacs.el)
> Loading disp-table...done
> Loading tool-bar...done
> Loading image...done
> Loading tooltip...done
> Loading /usr/share/emacs/site-lisp/site-start.d/iiimecf-init.el
> (source)...done
[ quite a few more of the same snipped. ]
> Loading /usr/share/emacs/site-lisp/site-start.d/ruby-mode-init.el
> (source)...done
> An error has occurred while loading `/net/wally/home/cfoster/.emacs.el':
> End of file during parsing: "/net/wally/home/cfoster/.emacs.el"
That looks like you've got too few ")"s in your .emacs.el. Presumably
you've just edited this file to put your .cc-mode-5.3.1.1 directory into
load-path. Check that your last change to .emacs.el was syntactically
correct. You can do this with "emacs -q" followed by loading your
.emacs.el with C-x C-f and looking at it. Alternatively .....
> 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
..... you can use "emacs --debug-init", like the error messages says.
This should give you something to go by, or at least something you can
post here if it doesn't seem to make any sense.
> Any help is greatly appreciated. Thanks in advance!!
We'll have you up and running in no time. :-)
> Chris Foster
--
Alan Mackenzie (Ittersbach, Germany).
next prev parent reply other threads:[~2007-06-12 15:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-11 20:14 HELP with cc-mode and emacs Chris
2007-06-12 15:52 ` Alan Mackenzie
2007-06-12 15:55 ` Alan Mackenzie [this message]
[not found] <mailman.2018.1181658574.32220.help-gnu-emacs@gnu.org>
2007-06-12 14:25 ` Chris
2007-06-12 22:40 ` Alan Mackenzie
[not found] ` <mailman.2062.1181682916.32220.help-gnu-emacs@gnu.org>
2007-06-13 13:31 ` Chris
2007-06-13 16:03 ` Peter Dyballa
2007-06-13 18:06 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070612155509.GA3034@muc.de \
--to=acm@muc.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.