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: Mon, 29 Nov 2004 01:11:52 -0500 Message-ID: References: <87k6sbzxro.fsf-monnier+emacs@gnu.org> <5bk6s6kp77.fsf@lister.roxen.com> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1101708910 5846 80.91.229.6 (29 Nov 2004 06:15:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Nov 2004 06:15:10 +0000 (UTC) Cc: monnier@iro.umontreal.ca, bug-cc-mode@gnu.org, acm@muc.de, Andries.Brouwer@cwi.nl, emacs-devel@gnu.org Original-X-From: cc-mode-help-admin@lists.sourceforge.net Mon Nov 29 07:15:04 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 1CYeoS-0007eJ-00 for ; Mon, 29 Nov 2004 07:15:04 +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 1CYeoR-00059p-9Z; Sun, 28 Nov 2004 22:15: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 1CYeno-0006FU-Ol for cc-mode-help@lists.sourceforge.net; Sun, 28 Nov 2004 22:14:24 -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 1CYeno-00057S-6n for cc-mode-help@lists.sourceforge.net; Sun, 28 Nov 2004 22:14:24 -0800 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CYelM-0002Jx-1S; Mon, 29 Nov 2004 01:11:52 -0500 Original-To: bug-cc-mode@gnu.org In-reply-to: <5bk6s6kp77.fsf@lister.roxen.com> (message from Martin Stjernholm on Sun, 28 Nov 2004 15:45:00 +0100) 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: Mon, 29 Nov 2004 01:11:52 -0500 Xref: main.gmane.org gmane.emacs.cc-mode.general:2070 gmane.emacs.devel:30474 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30474 There are great many dialects of these languages, so CC Mode uses the current language standards as the authorative sources to determine its settings. The standard is very useful as a guide to what to do, but don't let the word "authoritative" suggest that it is some kind of authority that we must follow. It is not. CC mode should take full account of what standards say, but that does not mean trying to "comply" with them. For the languages where the standards mandate a trailing newline, CC Mode therefore sets require-final-newline to t by default, This is not the right basis for making the decision. ------------------------------------------------------- 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/