From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andries Brouwer Newsgroups: gmane.emacs.devel Subject: Re: cc-mode adds newlines Date: Sun, 21 Nov 2004 15:29:47 +0100 Message-ID: <20041121142946.GO20436@apps.cwi.nl> References: <20041121122629.GE20436@apps.cwi.nl> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101047413 8643 80.91.229.6 (21 Nov 2004 14:30:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2004 14:30:13 +0000 (UTC) Cc: bug-cc-mode@gnu.org, Andries Brouwer , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 21 15:30:07 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CVsj9-00013V-00 for ; Sun, 21 Nov 2004 15:30:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CVss9-00036y-Mo for ged-emacs-devel@m.gmane.org; Sun, 21 Nov 2004 09:39:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CVss0-00035G-52 for emacs-devel@gnu.org; Sun, 21 Nov 2004 09:39:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CVsrz-00034b-JO for emacs-devel@gnu.org; Sun, 21 Nov 2004 09:39:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CVsrz-00034T-Fl for emacs-devel@gnu.org; Sun, 21 Nov 2004 09:39:15 -0500 Original-Received: from [192.16.191.8] (helo=hera.cwi.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CVsiq-000130-3a; Sun, 21 Nov 2004 09:29:48 -0500 Original-Received: from apps.cwi.nl (apps.cwi.nl [192.16.191.34]) by hera.cwi.nl with ESMTP id iALETlxh018705 for ; Sun, 21 Nov 2004 15:29:47 +0100 (MET) Original-Received: (from aeb@localhost) by apps.cwi.nl (8.11.7p1+Sun/8.12.2) id iALETlc20976; Sun, 21 Nov 2004 15:29:47 +0100 (MET) Original-To: Alan Mackenzie Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i 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: main.gmane.org gmane.emacs.devel:30175 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30175 On Sun, Nov 21, 2004 at 01:52:49PM +0000, Alan Mackenzie wrote: > >You see - nobody wants c-require-final-newline. > > Untrue - Alfred M. Szmidt, for one, wants it. Did he tell you in private mail? To me he wrote "It is not relevant what I want" > If nobody wanted it, it > wouldn't have been implemented. I think that implication is false. As I just wrote to dak, a lot of stuff is implemented out of ignorance. > >require-final-newline is a beautiful variable. Set it to ask by default > >and some people will make it always true, some will make it always false. > >Many will leave it to ask. > > And some will want it t in C Mode and nil in Text Mode, and really don't > want to be bothered answering the question "Add one? (y or n)" twenty > times a day. Possibly. So far we have not discovered such users. Maybe Alfred M. Szmidt has told you in private mail that he has such preferences. I see lots of people who are unhappy. Jari Aalto writes "I agree. The problem is not just in CC mode" Stefan Monnier writes "I'd tend to agree: setting it to `ask' is fine, but only the user should set it to t if she likes it, not the major mode." Richard Stallman writes "I tend to think it is wrong for major modes to set this at all." > OK, you've been bitten. Sorry. It's happened already and it can't now > be undone. And you see: nobody will discover the existence of this variable until they have been bitten. That is, the default is unsafe - files are changed that should have been left alone. I oppose against an unsafe default. Andries