emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109264: * alloc.c (Fgarbage_coll


From: Paul Eggert
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109264: * alloc.c (Fgarbage_collect): Indent as per usual Emacs style.
Date: Mon, 30 Jul 2012 15:47:21 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0

On 07/30/2012 03:33 PM, Stefan Monnier wrote:
> the GNU coding style additionally recommends to cut the line
> before rather than after infix operators.  I.e.
> 
>     double nlive
>       = (total_conses + total_symbols + total_markers + total_strings
>          + total_vectors + total_floats + total_intervals + total_buffers);

Sure, but that "=" is not an infix operator; it's
not an operator at all.  Technically, it's
punctuation that is part of an init-declarator.
It can't be nested inside parentheses, so there's
little point to formatting it according to style rules
designed for parentheses and infix operators; and
it's helpful to distinguish it from a true operator,
by putting it at the end of the previous line.



reply via email to

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