M-x all-things-emacs

Entries from September 2007

Quick Tip: Spaces instead of Tabs

September 30th, 2007 by Ryan McGeary · 8 Comments

Tab characters used as indentation of source code is a pet peeve of mine. Add this to your emacs initialization to make sure all indentation uses spaces instead.

;; I hate tabs!
(setq-default indent-tabs-mode nil)

Now, if you also use tab completion everywhere, someday, you’ll want to actually insert a real <tab> character (ASCII 9), but won’t [...]

[Read more →]

Tags:newbie · quick · tips