all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: czipperz@gmail.com, emacs-devel@gnu.org
Subject: Re: Change a while loop into do while
Date: Sat, 31 Dec 2016 12:56:35 -0800	[thread overview]
Message-ID: <ca20c7e1-e61e-71db-774f-2330e5c01258@cs.ucla.edu> (raw)
In-Reply-To: <838tqvhpqu.fsf@gnu.org>

Eli Zaretskii wrote:
>> It's not the usual GNU style.
> Maybe so, but it's widespread enough in Emacs sources, including
> outside of any macros, so it's a de-facto standard here.

No, the de facto standard even in Emacs sources is the usual GNU style. Outside 
of macro statements I count 142 instances of the usual GNU style, as opposed to 
only 28 instances of the K&R-ish style where "do {" is on the same line.

Surely if we want to change the GNU style, we should change the coding standards 
rather than just ignore them.



  reply	other threads:[~2016-12-31 20:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-27  4:55 Change a while loop into do while Chris Gregory
2016-12-31 11:20 ` Eli Zaretskii
2016-12-31 17:20   ` Paul Eggert
2016-12-31 18:00     ` Eli Zaretskii
2016-12-31 18:51       ` Paul Eggert
2016-12-31 19:18         ` Eli Zaretskii
2016-12-31 20:56           ` Paul Eggert [this message]
2016-12-31 20:59             ` Eli Zaretskii
2016-12-31 18:12     ` Eli Zaretskii
2016-12-31 18:31       ` Eli Zaretskii
2016-12-31 18:47         ` Paul Eggert

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=ca20c7e1-e61e-71db-774f-2330e5c01258@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=czipperz@gmail.com \
    --cc=eliz@gnu.org \
    --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.