Changes between Version 44 and Version 45 of Commentary/CodingStyle


Ignore:
Timestamp:
Oct 27, 2011 10:21:42 AM (4 years ago)
Author:
chak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/CodingStyle

    v44 v45  
    224224Most of the Haskell source code in GHC is free of tabs. We'd like to move away from tabs in the long term, and so a git hook on darcs.haskell.org will reject series of commits that add tabs to a file that is currently tab-free. (Note that there are no restrictions on adding tabs to a file already containing them.)
    225225
    226 In order to avoid angering this git hook, it is probably convenient to set your editor to indent using spaces rather than tabs:
     226In order to avoid angering this git hook, you should set your editor to indent using spaces rather than tabs:
    227227
    228228  * In Emacs, add `(setq-default indent-tabs-mode nil)` to your `.emacs` file ([http://cscs.umich.edu/~rlr/Misc/emacs_tabs.htm more discussion])