From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Release of CC Mode 5.31 Date: Fri, 2 Dec 2005 20:42:26 +0000 (GMT) Message-ID: References: <20051202171528.791CE3F28@rocksteady.printf.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1133560905 6925 80.91.229.2 (2 Dec 2005 22:01:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2005 22:01:45 +0000 (UTC) Cc: bug-cc-mode@gnu.org, mast@lysator.liu.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 02 23:01:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EiIwc-0001Ul-2F for ged-emacs-devel@m.gmane.org; Fri, 02 Dec 2005 22:59:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EiIwb-0004RL-DC for ged-emacs-devel@m.gmane.org; Fri, 02 Dec 2005 16:59:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EiIwM-0004Ou-4c for emacs-devel@gnu.org; Fri, 02 Dec 2005 16:59:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EiIwL-0004Ny-3m for emacs-devel@gnu.org; Fri, 02 Dec 2005 16:59:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EiIwK-0004Nl-V0 for emacs-devel@gnu.org; Fri, 02 Dec 2005 16:59:37 -0500 Original-Received: from [193.149.49.134] (helo=acm.acm) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EiIwJ-0005ua-Ia; Fri, 02 Dec 2005 16:59:36 -0500 Original-Received: from localhost (root@localhost) by acm.acm (8.8.8/8.8.8) with SMTP id UAA01470; Fri, 2 Dec 2005 20:42:27 GMT X-Sender: root@acm.acm Original-To: Henrik Enberg , Romain Francoise In-Reply-To: <20051202171528.791CE3F28@rocksteady.printf.se> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:46910 Archived-At: Hi, Henrik, Romain! Thanks for the reports. On Fri, 2 Dec 2005, Henrik Enberg wrote: >> Date: Fri, 2 Dec 2005 12:20:37 +0000 (GMT) >> From: Alan Mackenzie >> >> I have committed CC Mode 5.31 to the Emacs Repository. It consists of >> the relevant parts of the full CC Mode release (omitting, for example, >> the backward compatibility file, cc-fix.el, and our NEWS, README, etc.), >> modified for Emacs in line with previous releases. The stand alone >> release is available from . > >I get the following error when opening a C file: > > Eval error in the `c-lang-defvar' for `c-known-type-key': > (void-function mapcan) > >`mapcan' is defined in cl-extra, and not autoloaded. Romain Francoise wrote: >For example, start Emacs with `emacs -q -nw', open src/alloc.c, you get >the following messages: >| Loading cc-mode...done >| Eval error in the `c-lang-defvar' for `c-known-type-key': (void-function mapcan) >| Loading vc-cvs...done >| Error during redisplay: (wrong-type-argument stringp nil) >Then if you hit TAB on the first line (which is a comment), an error is >signaled: >| c-forward-type: Wrong type argument: stringp, nil >(This is in a freshly compiled Emacs after `make maintainer-clean'.) This looks like a known problem, which was discussed in the thread "CC mode loads CL" in the mailing lists emacs-pretext-bug@gnu.org and bug-cc-mode@gnu.org starting ~6th January 2004. That thread's rather heavy going - I'm looking for the solution there at the moment. -- Alan Mackenzie (Munich, Germany)