Mailinglist Archive: opensuse-buildservice (272 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: [PATCH] Revert "[backend] Indentation fixes."
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Tue, 2 Nov 2010 17:00:47 +0100
  • Message-id: <20101102160047.GA2242@xxxxxxx>
On Tue, Nov 02, 2010 at 04:43:03PM +0100, Sascha Peilicke wrote:
Sorry, can't follow you. If there is an indentation scheme and some code in
the repository violates that scheme, what is so wrong in fixing that?

You're mixing the way the files get stored with how they get displayed.

Vi automatically converts the leading spaces to
tabs, assuming the standard tab setting at every 8 characters.

What Vi converts is highly dependant on personal settings. IMHO someone had
code committed accidentally with the wrong settings or another editor, who
cares.

Everyone that has hard tabs != 8 never worked with a real terminal.

Even more so, the code in BSXML assumes that a leading tab equals 3
spaces ...

No, that's not true.

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >