Hi, this file is misaligned: http://gitorious.org/opensuse/yast-rest-service/blobs/master/plugins/roles/app/controllers/roles_controller.rb
It is because the Tab *character* ("\t") aligns at 8 columns
(Emacs: tab-width, vim: tabstop), which is used by the terminal if
you "cat".
Do not confuse that value with the indentation offset (Emacs:
c-basic-offset, vim: shiftwidth), invoked by the Tab *key*, which is
apparently 2 in that file, but the author mistakenly modified the
tab-width to 2 too. Please check your editor settings.
For details, see http://www.jwz.org/doc/tabs-vs-spaces.html
Note that where are various modes of strictness that can be applied
in a project about indentation, spaces, and tabs. I prefer the
relaxed side, tab-width=8 being the hard limit.
When you fix the indentation, please do it in a separate commit so
that it does not hide more substantial changes.
--
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
pgpFusDFiPqt2.pgp
Description: PGP signature
