emacs-devel
[Top][All Lists]
Advanced

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

Re: cc-mode adds newlines


From: Benjamin Riefenstahl
Subject: Re: cc-mode adds newlines
Date: Mon, 22 Nov 2004 12:54:24 +0100
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3.50 (gnu/linux)

Hi Andries,


Andries Brouwer writes:
> It is also broken because the CC major mode is documented as "C
> mode: Major mode for editing K&R and ANSI C code", while K&R C is
> explicitly documented as not requiring a final newline.

You mean the K&R book explicitly said so in it's pre-standard edition?

Naturally there is not really a standard definition of pre-standard C.
>From what I know about C89, like most restrictions, the requirement of
a final newline was most likely made because one or more compilers
required it that were already implemented and used before the
standard.


benny





reply via email to

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