all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* CC mode 5.33 does not work on Emacs 24.5.1 for Mac
@ 2016-09-14  7:08 Juha Nieminen
  2016-09-20  6:04 ` Juha Nieminen
  0 siblings, 1 reply; 11+ messages in thread
From: Juha Nieminen @ 2016-09-14  7:08 UTC (permalink / raw)
  To: help-gnu-emacs

I was wondering if somebody could help me figuring out what the problem is
with this.

I'm using the following version of Emacs on this Mac OS X computer:

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.

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".

Note that:

* My .emacs is not the culprit, as the problem happens even if said file
contains nothing more than the path-setting line

(add-to-list 'load-path "~/software/cc-mode-5.33/")

* The problem happens even if I launch emacs with the options
"-Q -L ~/software/cc-mode-5.33" or the option "--no-site-file".

* The problem does *not* happen if I run an older emacs (22.1.1)
pre-installed in this system (which, however, seems to be text
mode only, with no GUI support).

* The problem does *not* happen with a Windows port of emacs.
It only happens with this Mac OS X version.

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-10-13 16:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-14  7:08 CC mode 5.33 does not work on Emacs 24.5.1 for Mac Juha Nieminen
2016-09-20  6:04 ` Juha Nieminen
2016-09-20 22:01   ` John Mastro
     [not found]   ` <mailman.2722.1474408905.22741.help-gnu-emacs@gnu.org>
2016-09-21  5:57     ` Juha Nieminen
2016-09-21 17:20       ` John Mastro
     [not found]       ` <mailman.2766.1474478480.22741.help-gnu-emacs@gnu.org>
2016-10-12  7:28         ` Juha Nieminen
2016-10-12 12:38           ` Óscar Fuentes
2016-10-12 21:05             ` John Mastro
2016-10-12 21:51               ` Óscar Fuentes
2016-10-13 14:05           ` B. T. Raven
2016-10-13 16:50             ` John Mastro

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.