Emacs

Better coding with Emacs

Fabrice

June 1, 2015

Emacs

Some clues to enhance your Emacs experience.

Usefull extensions:

Emacs setup example:

; Add space between lines
(setq-default line-spacing 3) ; px

; Set the number of columns
(add-hook 'python-mode-hook '(lambda () (setq fill-column 100)))
(setq column-number-mode t)

; Auto-complete menu
(require 'auto-complete)
(global-auto-complete-mode t)

; Highlight the last column
(require 'column-marker)
(add-hook 'python-mode-hook '(lambda () (interactive) (column-marker-1 100)))

; Highlight indentation and trailing space
(require 'highlight-indentation)