This is elaborated on here: http://drupal.org/coding-standards#indenting