From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: cc-mode adds newlines Date: Tue, 30 Nov 2004 02:01:48 -0500 Message-ID: References: <200411281656.iASGuMP15956@apps.cwi.nl> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1101798311 9059 80.91.229.6 (30 Nov 2004 07:05:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Nov 2004 07:05:11 +0000 (UTC) Cc: bug-cc-mode@gnu.org, monnier@iro.umontreal.ca, Andries.Brouwer@cwi.nl, acm@muc.de, emacs-devel@gnu.org Original-X-From: cc-mode-help-admin@lists.sourceforge.net Tue Nov 30 08:05:06 2004 Return-path: Original-Received: from sc8-sf-sshgate.sourceforge.net ([66.35.250.220] helo=sc8-sf-spam2.sourceforge.net) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CZ24P-00017B-00 for ; Tue, 30 Nov 2004 08:05:05 +0100 Original-Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.7] helo=projects.sourceforge.net) by sc8-sf-spam2.sourceforge.net with esmtp (Exim 4.33) id 1CZ24N-0003Ig-M0; Mon, 29 Nov 2004 23:05:03 -0800 Original-Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZ23v-0007Mc-DE for cc-mode-help@lists.sourceforge.net; Mon, 29 Nov 2004 23:04:35 -0800 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1CZ23m-0005my-Pe for cc-mode-help@lists.sourceforge.net; Mon, 29 Nov 2004 23:04:34 -0800 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CZ21E-0003aB-9F; Tue, 30 Nov 2004 02:01:48 -0500 Original-To: In-reply-to: <200411281656.iASGuMP15956@apps.cwi.nl> (Andries.Brouwer@cwi.nl) Original-Sender: cc-mode-help-admin@lists.sourceforge.net Errors-To: cc-mode-help-admin@lists.sourceforge.net X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: Bug reports, feature requests, and general talk about CC Mode. List-Post: List-Help: List-Subscribe: , List-Archive: X-Original-Date: Tue, 30 Nov 2004 02:01:48 -0500 Xref: main.gmane.org gmane.emacs.cc-mode.general:2074 gmane.emacs.devel:30514 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30514 Do you think it would be appropriate for cc-mode to insert a semicolon in a context like label: } where the standard does not accept empty statements? For example automatically, when the file is saved? Note that GCC accepts this too, as an extension. It is not valid ISO C, but it is valid GNU C. In designing GNU software, valid GNU C is a more important criterion than valid ISO C. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/