public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] Indentation level
@ 2014-03-26 11:04 Alexander Berntsen
  2014-03-26 12:23 ` Tom Wijsman
  2014-03-28  8:50 ` [gentoo-portage-dev] [PATCH] DEVELOPING: Be more specific about tabs/spaces Alexander Berntsen
  0 siblings, 2 replies; 4+ messages in thread
From: Alexander Berntsen @ 2014-03-26 11:04 UTC (permalink / raw
  To: gentoo-portage-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Alignment is a PITA with hard tabs, so can we at least agree on what
tab stop to use? I naïvely mentioned in DEVELOPING that it should be
set to 4, because that's what every Python standard uses. But
throughout the code it varies.

There are plenty of examples of stuff that's aligned using tabs, see
UseManager's init comment for an example. Notice how it is obviously
formatted by somebody using 8 as their tab stop. People who have set
their tab stop to the Python standard will just see an ugly mess.

It's not a big issue, but if we can agree on a rule, I can add it to
the DEVELOPING, and people can just change stuff that assumes a wrong
tab stop.

To avoid bikeshedding I just propose to set it to 4. Any objections?
- -- 
Alexander
bernalex@gentoo.org
https://secure.plaimi.net/~alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlMytCsACgkQRtClrXBQc7WYKwD+O8RBe5WJIDv6vmonPieJwiI/
AfJLP3ihJswJNaQo1UgA/iJKrhTZ2Qq2h6gEnYvhmuD6FBCmI2ynukk51iuzmi3E
=BXE9
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-28  8:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-26 11:04 [gentoo-portage-dev] Indentation level Alexander Berntsen
2014-03-26 12:23 ` Tom Wijsman
2014-03-26 12:26   ` Alexander Berntsen
2014-03-28  8:50 ` [gentoo-portage-dev] [PATCH] DEVELOPING: Be more specific about tabs/spaces Alexander Berntsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox