From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juha Nieminen Newsgroups: gmane.emacs.help 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) Organization: Netfront http://www.netfront.net/ Message-ID: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1473837050 4778 195.159.176.226 (14 Sep 2016 07:10:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Sep 2016 07:10:50 +0000 (UTC) User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.14.66-grbfs-kapsi (x86_64)) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 14 09:10:38 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bk4Kz-0007QW-8I for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Sep 2016 09:10:29 +0200 Original-Received: from localhost ([::1]:53484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bk4Kx-000695-Bv for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Sep 2016 03:10:27 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!newsgate.cuhk.edu.hk!news.netfront.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: 217.30.184.161 Original-X-Trace: adenine.netfront.net 1473836924 98229 217.30.184.161 (14 Sep 2016 07:08:44 GMT) Original-X-Complaints-To: news@netfront.net Original-NNTP-Posting-Date: Wed, 14 Sep 2016 07:08:44 +0000 (UTC) Original-Xref: usenet.stanford.edu gnu.emacs.help:218936 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111340 Archived-At: 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 ---