emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cc-mode adds newlines version=2.64


From: Jari Aalto
Subject: Re: cc-mode adds newlines version=2.64
Date: Thu, 25 Nov 2004 17:59:01 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (windows-nt)

"Alfred M. Szmidt" <address@hidden> writes:

|    >    And require-final-newline is not good enough for you?  You need a
|    >    separate c-require-final-newline?
|    > 
|    > Did it occur to you
| 
|    You did not answer the question.
| 
| It is not relevant what I want, but what everyone else wants.  Emacs
| is not _my_ editor, but the editor of several thousand people.  It
| should have such defaults that make sense for the general cases, and
| should have variables/hooks that can be modifed for those cases where
| the person dislikes the defaults.

It is good to have good defaults, but the principle should be:

   No expected changes

This is just plain common sense. The editor should not make changes to
files, because then it may cause unexpected consequences:

       all the sudden version control thinks that files have changes
       because (C or other mode) decided to make changes.

It should be left to user's control. All those final-newline* settings
should be removed and instruct users to add hooks functions
(or enable features) if they really want those settings active.

Jari





reply via email to

[Prev in Thread] Current Thread [Next in Thread]