Re: cc-mode adds newlines

From:

Richard Stallman

Subject:

Re: cc-mode adds newlines

Date:

Fri, 19 Nov 2004 15:04:06 -0500

> I agree. The problem is not just in CC mode, but also in other modes as
> well. Could someone from the dev team address these below.
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.
I tend to think it is wrong for major modes to set this at all.
So what if the C standard says files must end in a newline?
We would still say that any compiler that actually requires this
ought to be changed. So why bother users about it?
Of all the modes that currently set require-final-newline to t,
are there any in which the file really won't work if it lacks
a final newline?