all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Edgar Antonio Luna Díaz" <kheb@gnulinux.org.mx>
Subject: Re: Please explain diff between K&R, Linux and GNU c-mode styles...
Date: Fri, 25 Oct 2002 15:02:08 -0500	[thread overview]
Message-ID: <878z0mp9rz.fsf@gnulinux.org.mx> (raw)
In-Reply-To: mailman.1035568658.14167.help-gnu-emacs@gnu.org

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

seberino@spawar.navy.mil writes:

> I can't find any description of
> difference between GNU, K&R and Linux
> C-mode styles.  Can you please give
> a 1-2 sentence description of main
> diff of each?
This is an off-topic

GNU: indent 4 or 2 spaces. 
K&R: 8

GNU: open bracket is in the next line
K&R: open bracket is in the same line, except to functions
declarations.

Four sentences :P


-- 
Edgar Antonio Luna Díaz - http://www.gnulinux.org.mx
Key Fingerprint=C008 5EAC 5272 AC8C 7589  4821 8B34 6166 8733 8310

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

       reply	other threads:[~2002-10-25 20:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1035568658.14167.help-gnu-emacs@gnu.org>
2002-10-25 20:02 ` Edgar Antonio Luna Díaz [this message]
2002-10-25 21:42   ` Please explain diff between K&R, Linux and GNU c-mode styles seberino
     [not found]   ` <mailman.1035582199.7294.help-gnu-emacs@gnu.org>
2002-10-26  3:53     ` Edgar Antonio Luna Díaz
2002-10-25 20:12 ` Richard V. Molen
2002-10-25 17:56 seberino

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=878z0mp9rz.fsf@gnulinux.org.mx \
    --to=kheb@gnulinux.org.mx \
    /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.