emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change a while loop into do while


From: Paul Eggert
Subject: Re: Change a while loop into do while
Date: Sat, 31 Dec 2016 12:56:35 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

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 via email to

[Prev in Thread] Current Thread [Next in Thread]