emacs-devel
[Top][All Lists]
Advanced

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

Re: Should there be a k&r2 c-style?


From: Alex
Subject: Re: Should there be a k&r2 c-style?
Date: Wed, 21 Sep 2016 11:41:06 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

John Wiegley <address@hidden> writes:

>>>>>> "A" == Alex  <address@hidden> writes:
>
> A> If an alias is too much, perhaps the manual could mention that the
> A> 'stroustrup' c-style provides what is used in the K&R2 book?
>
> I think that would be probably be best.

Is something like this okay?

diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi
index f311ec8..0628f8e 100644
--- a/doc/misc/cc-mode.texi
+++ b/doc/misc/cc-mode.texi
@@ -2554,7 +2554,9 @@ for C code in GNU programs.
 
 @item k&r
 @cindex K&R style
-The classic Kernighan and Ritchie style for C code.
+The classic Kernighan and Ritchie style for C code. If you're looking
+for the style used in the 2nd edition of their book ``The C
+Programming Language'', then check out the Stroustrup style.
 
 @item bsd
 @cindex BSD style

reply via email to

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