Juha Nieminen
2016-09-05 07:34:57 UTC
Hello. I'm using the following version of Emacs:
GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
of 2015-04-10 on builder10-9.porkrind.org
I downloaded CC Mode 5.33 from http://cc-mode.sourceforge.net/ and
followed the installation instructions.
On that note (although not the main reason to make this bug report),
trying to do a "M-x byte-recompile-directory RET /path/to/cc-mode RET"
as per the instructions only results in Emacs saying "Done (Total of 0
files compiled, 15 skipped)", and no .elc files appear in said
directory. (Although to be fair, the instructions actually prepend
that command with a "M-0", which I have no idea what it means. If I
press alt-0, or esc + 0, all it does is to give a very strange
message: "After 0 kbd macro iterations: Keyboard macro terminated by a
command ringing the bell". It has no effect on subsequent commands.)
Running the shell command did work, however, and it created the .elc
files.
After adding the directory to the load path, the new CC mode 5.33 is
loaded when I open a source code file ("M-x c-version" gives "Using CC
Mode version 5.33"). However, it does not work properly.
Immediately upon opening a source code file, it gives the error "File
mode specification error: (wrong-type-argument stringp nil)". The text
itself is also only partially colored (eg. some comment lines are
colored while others aren't). Trying to autoindent by pressing tab
gives the error "Wrong type argument: stringp, nil".
This is not caused by anything else I'm setting/loading in my .emacs
file, as the same behavior happens even if there is nothing else in
said file other than the add-to-list 'load-path command.
------------------------------------------------------------------------------
GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
of 2015-04-10 on builder10-9.porkrind.org
I downloaded CC Mode 5.33 from http://cc-mode.sourceforge.net/ and
followed the installation instructions.
On that note (although not the main reason to make this bug report),
trying to do a "M-x byte-recompile-directory RET /path/to/cc-mode RET"
as per the instructions only results in Emacs saying "Done (Total of 0
files compiled, 15 skipped)", and no .elc files appear in said
directory. (Although to be fair, the instructions actually prepend
that command with a "M-0", which I have no idea what it means. If I
press alt-0, or esc + 0, all it does is to give a very strange
message: "After 0 kbd macro iterations: Keyboard macro terminated by a
command ringing the bell". It has no effect on subsequent commands.)
Running the shell command did work, however, and it created the .elc
files.
After adding the directory to the load path, the new CC mode 5.33 is
loaded when I open a source code file ("M-x c-version" gives "Using CC
Mode version 5.33"). However, it does not work properly.
Immediately upon opening a source code file, it gives the error "File
mode specification error: (wrong-type-argument stringp nil)". The text
itself is also only partially colored (eg. some comment lines are
colored while others aren't). Trying to autoindent by pressing tab
gives the error "Wrong type argument: stringp, nil".
This is not caused by anything else I'm setting/loading in my .emacs
file, as the same behavior happens even if there is nothing else in
said file other than the add-to-list 'load-path command.
------------------------------------------------------------------------------