my ~/.emacs

This is something I should’ve done a long time ago when I had a machine with an instance of emacs configured to my best confort.

I’ll start editing the following copy of my .emacs as the days go by, until I have it the way I like it.

Suggestions are welcome, but I can’t promise I’ll add everything you tell me.

;show me nice colors always
'(global-font-lock-mode t)
'(font-lock-mode t)
;show me what region is selected
'(transient-mark-mode t)
;dont use tabs to indent
'(indent-tabs-mode nil)
;if you use tabs, they're actually 4 spaces
'(tab-width 4)
;don't keep too much on the log
'(message-log-max 250)
;disable backup
(setq backup-inhibited t)
;disable auto save
(setq auto-save-default nil)
;on some configurations its not enough to set
;global-font-lock-mode on the custom variables
(global-font-lock-mode 1)

(add-to-list 'load-path "~/.emacs.d/")
;whitespace-mode to see bad indents
(load "whitespace.el")

Write a Comment


This site uses Akismet to reduce spam. Learn how your comment data is processed.