unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex <agrambot@gmail.com>
To: emacs-devel@gnu.org
Subject: Should there be a k&r2 c-style?
Date: Fri, 09 Sep 2016 13:24:23 -0600	[thread overview]
Message-ID: <87r38sc1w8.fsf@gmail.com> (raw)

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	other threads:[~2016-09-09 19:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-09 19:24 Alex [this message]
2016-09-09 19:35 ` Should there be a k&r2 c-style? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r38sc1w8.fsf@gmail.com \
    --to=agrambot@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).