unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Should there be a k&r2 c-style?
@ 2016-09-09 19:24 Alex
  2016-09-09 19:35 ` John Wiegley
  0 siblings, 1 reply; 8+ messages in thread
From: Alex @ 2016-09-09 19:24 UTC (permalink / raw)
  To: emacs-devel

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?



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-09-25 18:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-09 19:24 Should there be a k&r2 c-style? Alex
2016-09-09 19:35 ` John Wiegley
2016-09-09 20:08   ` Alex
2016-09-09 20:54     ` John Wiegley
2016-09-21 17:41       ` Alex
2016-09-21 20:12         ` John Wiegley
2016-09-21 23:11           ` Alex
2016-09-25 18:56             ` John Wiegley

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).