emacs配置cc-mode,
cc-mode在编译时出现错误:
cc-mode.el:562:4:Error: Wrong type argument: sequencep, type......
参考:
http://cc-mode.sourceforge.net/anoncvs.php
CC Mode is available through anonymous CVS. You can get the latestdevelopment version and also (since version 5.30) the fixes that havebeen incorporated into the latest release, i.e. what will become5.31.1, 5.31.2 and so on. You can browse the CVS repository here.
To get the latest release with only bug fixes and no new features,check out the patch branch, which is called Branch_5_31:
cvs -d:pserver:anonymous@cc-mode.cvs.sourceforge.net:/cvsroot/cc-mode login
Just press Enter at the password prompt. Then:
cvs -z3 -d:pserver:anonymous@cc-mode.cvs.sourceforge.net:/cvsroot/cc-mode co -rBranch_5_31 cc-mode
It should always be safe to use the latest version on this branch.Please report any problems.
<<<< 到此就可以了,以下好像开发用的。
Checking out the development version
The development version is on the main trunk in cvs:
cvs -z3 -d:pserver:anonymous@cc-mode.cvs.sourceforge.net:/cvsroot/cc-mode co cc-mode
Being under development, there are of course no guarantees that thisversion will work all the time, or at all. That said, it usually works well;at least I (Alan) use it in my daily work, not only when I hack on it. Itmight not be entirely compatible with user settings, but it can get moreadvanced fixes that are considered too risky to be allowed into the patchbranch.
You are especially welcome to report bugs, opinions and patchesregarding the development version. However if you've found a bug,it's a good idea to try an update before you report it since chancesare that we have found it ourselves already.
The source tree
The CC Mode source will be in the root of the checked out tree.It's the same thing you'll find in a dist tarball (with a couple ofextra files around it), so it can be byte compiled and used straightaway. You'll find the regression test suite in thetests
directory; take a look in
000tests.el
to figure out howto use it. The
admin
directory probably isn't veryinteresting; it just contains the source for this web site.