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: Release of CC Mode 5.31 Date: Fri, 2 Dec 2005 12:20:37 +0000 (GMT) Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1133539018 28857 80.91.229.2 (2 Dec 2005 15:56:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2005 15:56:58 +0000 (UTC) Cc: Martin Stjernholm Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 02 16:56:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EiDEK-0001Gg-4N for ged-emacs-devel@m.gmane.org; Fri, 02 Dec 2005 16:53:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EiDEI-000592-Bs for ged-emacs-devel@m.gmane.org; Fri, 02 Dec 2005 10:53:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EiB2l-0001kQ-5G for emacs-devel@gnu.org; Fri, 02 Dec 2005 08:33:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EiB2j-0001js-Te for emacs-devel@gnu.org; Fri, 02 Dec 2005 08:33:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EiB2j-0001jX-Ac for emacs-devel@gnu.org; Fri, 02 Dec 2005 08:33:41 -0500 Original-Received: from [193.149.49.134] (helo=acm.acm) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EiB2g-0003zu-7Y; Fri, 02 Dec 2005 08:33:39 -0500 Original-Received: from localhost (root@localhost) by acm.acm (8.8.8/8.8.8) with SMTP id MAA01048; Fri, 2 Dec 2005 12:20:37 GMT X-Sender: root@acm.acm Original-To: Richard Stallman , emacs-devel@gnu.org 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:46884 Archived-At: Hi Richard, Hi Emacs! 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 . So far, I have committed the files.el and cc-mode.texi. Updates to NEWS and the two ChangeLogs should follow shortly. As always, it would be appreciated if bug reports were cc'd to bug-cc-mode@gnu.org. Here is a copy of our new NEWS: ######################################################################### CC Mode NEWS -- user visible changes. -*- outline -*- * Changes in 5.31 This version contains only a few new visible features, but significant internal improvements. ** Emacs 19.34 and XEmacs 19.15 are no longer supported. The minimum versions required are now Emacs 20.4 or XEmacs 21.4. ** The CC Mode manual has been extensively revised. The information about using CC Mode has been separated from the larger and more difficult chapters about configuration. *** There are now two variants of the manual - for GNU Emacs and XEmacs. The only difference between them is where some cross references point (e.g. GNU Emacs Manual vs. XEmacs Manual). The default variant is for GNU. To build an XEmacs version, you must define the texinfo symbol "XEMACS". See README and cc-mode.texi. ** Changes in Key Sequences *** c-toggle-auto-hungry-state is no longer bound to C-c C-t. *** c-toggle-hungry-state is no longer bound to C-c C-d. This binding has been taken over by c-hungry-delete-forwards. *** c-toggle-auto-state (C-c C-t) has been renamed to c-toggle-auto-newline. c-toggle-auto-state remains as an alias. *** c-hungry-backspace and c-hungry-delete-forwards now have permanent key bindings, respectively C-c C-DEL (or C-c DEL, for the benefit of TTYs) and C-c C-d (or C-c C- or C-c ). These commands delete entire blocks of whitespace with a single key-sequence. [N.B. "DEL" is the key.] *** The new command c-toggle-electric-mode is bound to C-c C-l. *** The new command c-subword-mode is bound to C-c C-w. ** C-c C-s (`c-show-syntactic-information') now highlights the anchor position(s). ** The new GtkDoc Doc Comment style has become the default for C Mode. Contributed by Masatake YAMOTO. ** New Minor Modes *** Electric Minor Mode toggles the electric action of non-alphabetic keys. The new command c-toggle-electric-mode is bound to C-c C-l. Turning the mode off can be helpful for editing chaotically indented code and for users new to CC Mode, who sometimes find electric indentation disconcerting. Its current state is displayed in the mode line with an 'l', e.g. "C/al". *** Subword Minor Mode makes Emacs recognize word boundaries at upper case letters in StudlyCapsIdentifiers. You enable this feature by C-c C-w. It can also be used in non-CC Mode buffers. :-) Contributed by Masatake YAMOTO. Subword Minor Mode doesn't (yet?) work in Emacs 20.n. ** New clean-ups *** `comment-close-slash'. With this clean-up, a block (i.e. c-style) comment can be terminated by typing a slash at the start of a line. *** `c-one-liner-defun' This clean-up compresses a short enough defun (for example, an AWK pattern/action pair) onto a single line. "Short enough" is configurable. ** AWK support AWK Mode is now better integrated into CC Mode as a whole. In detail: *** Comment and line-breaking commands now work for AWK. *** M-a and M-e (c-beginning/end-of-statement) now work for AWK. *** "awk" style, Auto-newline insertion, special AWK initialization hook. A new style, "awk" has been introduced, and this is now the default style for AWK code. With its introduction, Auto-newline insertion can be used freely for AWK code, and there is no longer a need for the special initialization function in the AWK Mode hook. *** The standard Line-up functions still haven't been adapted for AWK. Some of these may work serendipitously. There shouldn't be any problems writing custom indentation functions for AWK mode. *** AWK Font Locking still hasn't been fully integrated into CC Mode. There is just a single level of font locking in AWK mode. ######################################################################### -- Alan Mackenzie (Munich, Germnay)