unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Juha Nieminen <nospam@thanks.invalid>
To: help-gnu-emacs@gnu.org
Subject: CC mode 5.33 does not work on Emacs 24.5.1 for Mac
Date: Wed, 14 Sep 2016 07:08:44 +0000 (UTC)	[thread overview]
Message-ID: <nrat1q$2vtl$1@adenine.netfront.net> (raw)

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


             reply	other threads:[~2016-09-14  7:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-14  7:08 Juha Nieminen [this message]
2016-09-20  6:04 ` CC mode 5.33 does not work on Emacs 24.5.1 for Mac 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

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='nrat1q$2vtl$1@adenine.netfront.net' \
    --to=nospam@thanks.invalid \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).