all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex <agrambot@gmail.com>
To: emacs-devel@gnu.org
Cc: Alan Mackenzie <acm@muc.de>
Subject: Re: Should there be a k&r2 c-style?
Date: Wed, 21 Sep 2016 17:11:03 -0600	[thread overview]
Message-ID: <87bmzgonlk.fsf@gmail.com> (raw)
In-Reply-To: <m21t0dqagf.fsf@newartisans.com> (John Wiegley's message of "Wed,  21 Sep 2016 13:12:00 -0700")

[-- Attachment #1: Type: text/plain, Size: 421 bytes --]

John Wiegley <jwiegley@gmail.com> writes:

>>>>>> "A" == Alex  <agrambot@gmail.com> writes:
>
> A> Is something like this okay?
>
> Yes, that looks good to me.  You may want to mention "stroustrup" in quotes
> when naming the style, so that people know exactly what to look for.

That makes sense. I surrounded it in a @code block to match some other
mentions of styles.

If it's acceptable, would you commit it for me?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: style --]
[-- Type: text/x-diff, Size: 513 bytes --]

diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi
index f311ec8..6916169 100644
--- a/doc/misc/cc-mode.texi
+++ b/doc/misc/cc-mode.texi
@@ -2554,7 +2554,9 @@ for C code in GNU programs.
 
 @item k&r
 @cindex K&R style
-The classic Kernighan and Ritchie style for C code.
+The classic Kernighan and Ritchie style for C code. If you're looking
+for the style used in the 2nd edition of their book ``The C
+Programming Language'', then check out the @code{stroustrup} style.
 
 @item bsd
 @cindex BSD style

[-- Attachment #3: Type: text/plain, Size: 5 bytes --]


TIA

  reply	other threads:[~2016-09-21 23:11 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
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 [this message]
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=87bmzgonlk.fsf@gmail.com \
    --to=agrambot@gmail.com \
    --cc=acm@muc.de \
    --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.