From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andries Brouwer Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: cc-mode adds newlines Date: Sun, 28 Nov 2004 21:20:16 +0100 Message-ID: <20041128202015.GA821@apps.cwi.nl> References: <200411281656.iASGuMP15956@apps.cwi.nl> <5bact1lwp5.fsf@lister.roxen.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101673272 13198 80.91.229.6 (28 Nov 2004 20:21:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 28 Nov 2004 20:21:12 +0000 (UTC) Cc: Andries.Brouwer@cwi.nl, monnier@iro.umontreal.ca, acm@muc.de, rms@gnu.org, emacs-devel@gnu.org Original-X-From: cc-mode-help-admin@lists.sourceforge.net Sun Nov 28 21:21: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 1CYVXd-0005b2-00 for ; Sun, 28 Nov 2004 21:21:06 +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 1CYVXc-00050X-6w; Sun, 28 Nov 2004 12:21:04 -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 1CYVXU-00086o-PD for cc-mode-help@lists.sourceforge.net; Sun, 28 Nov 2004 12:20:56 -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 1CYVXR-0006oz-VF for cc-mode-help@lists.sourceforge.net; Sun, 28 Nov 2004 12:20:56 -0800 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.34) id 1CYVV1-0004Cd-SX for bug-cc-mode@gnu.org; Sun, 28 Nov 2004 15:18:23 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1CYVWu-00008e-Os for bug-cc-mode@gnu.org; Sun, 28 Nov 2004 15:20:21 -0500 Original-Received: from [192.16.191.8] (helo=hera.cwi.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CYVWu-00008Q-9p; Sun, 28 Nov 2004 15:20:20 -0500 Original-Received: from apps.cwi.nl (apps.cwi.nl [192.16.191.34]) by hera.cwi.nl with ESMTP id iASKKGJK026466 for ; Sun, 28 Nov 2004 21:20:16 +0100 (MET) Original-Received: (from aeb@localhost) by apps.cwi.nl (8.11.7p1+Sun/8.12.2) id iASKKGA07394; Sun, 28 Nov 2004 21:20:16 +0100 (MET) Original-To: bug-cc-mode@gnu.org Content-Disposition: inline In-Reply-To: <5bact1lwp5.fsf@lister.roxen.com> User-Agent: Mutt/1.4i 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: Sun, 28 Nov 2004 21:20:16 +0100 Xref: main.gmane.org gmane.emacs.cc-mode.general:2064 gmane.emacs.devel:30461 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30461 On Sun, Nov 28, 2004 at 06:17:42PM +0100, Martin Stjernholm wrote: > you have to produce directly applicable arguments > if you want to convince me. The basic point is that of data integrity. Files must not be changed unless the user asks for a change. When there has not been any such explicit request, and .emacs is empty, then emacs should not do any helpful polishing. The current situation, where (after 0 changes) save-buffer returns "(No changes need to be saved)" and write-file nevertheless writes a different file, is unfortunate and messy. Andries ------------------------------------------------------- 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/