[Top][All Lists]

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

Re: cc-mode adds newlines

From: Andries Brouwer
Subject: Re: cc-mode adds newlines
Date: Sun, 21 Nov 2004 14:43:23 +0100
User-agent: Mutt/1.4i

On Sun, Nov 21, 2004 at 02:37:49PM +0100, David Kastrup wrote:
> Andries Brouwer <address@hidden> writes:
> > My point today is:
> > emacs must never unexpectedly change a file behind the user's back.
> It doesn't.  Only when you edit and save a modified file, does it
> interpret the variable.

That is not quite correct. Also when I save an unmodified file
under a different name the "copy" gets an extra newline.

> > That is, the default settings must be so that emacs asks
> > before changing.
> I disagree.  The default for most modes should be to keep the files as
> they are without asking.  But since files without newline at the end
> are not valid C files, the default for C clearly should be different.

You mean "are not valid C99 files".
But they are valid C files for many other C dialects.
The mode is not called c99 mode.


reply via email to

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