unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
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	[thread overview]
Message-ID: <50170EF9.1010307@cs.ucla.edu> (raw)
In-Reply-To: <jwvobmw6fts.fsf-monnier+emacs@gnu.org>

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	other threads:[~2012-07-30 22:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1SvWBA-00078u-9A@vcs.savannah.gnu.org>
2012-07-30 22:33 ` [Emacs-diffs] /srv/bzr/emacs/trunk r109264: * alloc.c (Fgarbage_collect): Indent as per usual Emacs style Stefan Monnier
2012-07-30 22:47   ` Paul Eggert [this message]
2012-07-30 23:11     ` Stefan Monnier
2012-07-30 23:32       ` Paul Eggert
2012-07-31  6:06     ` Richard Stallman
2012-07-31  6:24       ` Paul Eggert
2012-07-31 22:31         ` Richard Stallman
2012-07-31 23:28           ` Paul Eggert
2012-08-01  3:39             ` Richard Stallman
2012-08-01 23:31             ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50170EF9.1010307@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).