all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Wiegley <jwiegley@gmail.com>
To: Alex <agrambot@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Should there be a k&r2 c-style?
Date: Fri, 09 Sep 2016 12:35:44 -0700	[thread overview]
Message-ID: <m2fup827e7.fsf@newartisans.com> (raw)
In-Reply-To: <87r38sc1w8.fsf@gmail.com> (Alex's message of "Fri, 09 Sep 2016 13:24:23 -0600")

>>>>> "A" == Alex  <agrambot@gmail.com> 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	other threads:[~2016-09-09 19:35 UTC|newest]

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

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

  git send-email \
    --in-reply-to=m2fup827e7.fsf@newartisans.com \
    --to=jwiegley@gmail.com \
    --cc=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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.