From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin Stjernholm Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: cc-mode adds newlines Date: Tue, 30 Nov 2004 11:51:36 +0100 Message-ID: <5b8y8j4nk7.fsf@lister.roxen.com> References: <87k6sbzxro.fsf-monnier+emacs@gnu.org> <5bk6s6kp77.fsf@lister.roxen.com> Reply-To: bug-cc-mode@gnu.org NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101812077 12616 80.91.229.6 (30 Nov 2004 10:54:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Nov 2004 10:54:37 +0000 (UTC) Cc: bug-cc-mode@gnu.org, monnier@iro.umontreal.ca, acm@muc.de, Andries.Brouwer@cwi.nl, emacs-devel@gnu.org Original-X-From: cc-mode-help-admin@lists.sourceforge.net Tue Nov 30 11:54:11 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 1CZ5e6-000322-00 for ; Tue, 30 Nov 2004 11:54:11 +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 1CZ5e3-000112-If; Tue, 30 Nov 2004 02:54:07 -0800 Original-Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CZ5du-0007jt-QL for cc-mode-help@lists.sourceforge.net; Tue, 30 Nov 2004 02:53:58 -0800 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1CZ5du-0003wJ-54 for cc-mode-help@lists.sourceforge.net; Tue, 30 Nov 2004 02:53:58 -0800 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.34) id 1CZ5bB-0005n1-Np for bug-cc-mode@gnu.org; Tue, 30 Nov 2004 05:51:09 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1CZ5dc-0006Kp-JR for bug-cc-mode@gnu.org; Tue, 30 Nov 2004 05:53:41 -0500 Original-Received: from [212.247.28.43] (helo=mail.roxen.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CZ5dc-0006KU-9a; Tue, 30 Nov 2004 05:53:40 -0500 Original-Received: by mail.roxen.com (Postfix, from userid 52) id 85A7399B3; Tue, 30 Nov 2004 11:53:36 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by mail.roxen.com (Postfix) with ESMTP id AEC3899C4; Tue, 30 Nov 2004 11:51:37 +0100 (MET) Original-Received: from lister.roxen.com (lister.roxen.com [212.247.28.136]) by mail.roxen.com (Postfix) with ESMTP id 0FA7799B3; Tue, 30 Nov 2004 11:51:36 +0100 (MET) Original-Received: from mast by lister.roxen.com with local (Exim 3.36 #1 (Debian)) id 1CZ5bc-0001VB-00; Tue, 30 Nov 2004 11:51:36 +0100 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Mon, 29 Nov 2004 01:11:52 -0500") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/20.7 (gnu/linux) X-Virus-Scanned: by amavisd 0.1 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 11:51:36 +0100 Xref: main.gmane.org gmane.emacs.cc-mode.general:2077 gmane.emacs.devel:30524 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30524 Richard Stallman wrote: > 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. I believe it is, indirectly: The default settings should be suitable for the most common editing situations. It's reasonable to assume that a commonly accepted standard (which is the case with ANSI C) describe the common ground between implementations. Hence the standard is a very good source when finding out what the most common editing situations are. ------------------------------------------------------- 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/