emacs-devel
[Top][All Lists]
Advanced

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

Should there be a k&r2 c-style?


From: Alex
Subject: Should there be a k&r2 c-style?
Date: Fri, 09 Sep 2016 13:24:23 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

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

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

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



reply via email to

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