12 February 2010

XEmacs: Settings that I use

This is what I normally use. It's self explanatory.

;; Turn on tabs
(setq indent-tabs-mode t)
(setq-default indent-tabs-mode t)

;; Bind the TAB key
(global-set-key (kbd "TAB") 'self-insert-command)

;; Set the tab width
(setq default-tab-width 4)
(setq tab-width 4)
(setq c-basic-indent 4)

(setq inhibit-startup-message t) ; Don't want any startup message

;; Display line and column number in the modeline
(line-number-mode 1)
(column-number-mode 1)

No comments:

Post a Comment