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: John Wiegley
Subject: Re: Should there be a k&r2 c-style?
Date: Fri, 09 Sep 2016 12:35:44 -0700
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1 (darwin)

>>>>> "A" == Alex  <address@hidden> writes:

A> I imagine that a lot of people nowadays who look at the list of built-in
A> c-styles in the manual would expect that the 'k&r' style would have a
A> c-basic-offset of 4, which is what is used in the 2nd edition of 'The C
A> Programming Language'.

A> For example, the k&r style mentioned in
A> https://en.wikipedia.org/wiki/Indent_style#K.26R_style has an offset of
A> 4 spaces.

A> Would it make sense to add a k&r2 c-style that is an alias for the
A> 'stroustrup' c-style to help alleviate any potential confusion?

Is this just a supposition, or have you heard anyone actually say this?

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



reply via email to

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