All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: 2273 lines in 170 files consists of only space and tabulators
Date: Sat, 06 Jun 2009 21:59:28 -0400	[thread overview]
Message-ID: <1244339968.18630.14.camel@mj> (raw)
In-Reply-To: <d7ead6de0906061848w3298cb52j50b2c04b09fbc875@mail.gmail.com>

On Sun, 2009-06-07 at 03:48 +0200, Vladimir 'phcoder' Serbinenko wrote:

> As was discussed on IRC and confirmed by looking at GCS it doesn't
> specify explicitely whether empty lines whould contain spaces. We can
> use either way as long as we use it consistently. I haven't yet found
> how to install ident on gentoo. If ident removes these spaces too I
> think we should remove them too as it's easier to maintain if style is
> the same as from ident

Yes, indent removes trailing whitespace everywhere except comments.

By the way, our style is slightly different from that used by GNU
indent.  GRUB uses space after "!", whereas GNU indent doesn't.  Also,
some GRUB sources use one space before labels, and GNU indent starts
labels from the first column.

-- 
Regards,
Pavel Roskin



  reply	other threads:[~2009-06-07  1:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-06 10:25 2273 lines in 170 files consists of only space and tabulators Felix Zielcke
2009-06-06 13:43 ` Felix Zielcke
2009-06-07  1:48   ` Vladimir 'phcoder' Serbinenko
2009-06-07  1:59     ` Pavel Roskin [this message]
2009-06-07 14:32       ` Felix Zielcke
2009-06-07  1:53 ` Pavel Roskin
2009-06-10 21:04   ` Felix Zielcke
2009-07-28 18:19     ` Robert Millan
2009-07-28 21:09       ` Felix Zielcke
2009-07-31 15:39         ` Robert Millan
2009-07-31 15:45           ` Felix Zielcke
2009-07-31 16:02             ` Felix Zielcke
2009-07-31 16:24               ` Robert Millan
2009-08-01 10:05             ` Alfred M. Szmidt
2009-08-01 13:54               ` Felix Zielcke

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=1244339968.18630.14.camel@mj \
    --to=proski@gnu.org \
    --cc=grub-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.
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.