Indent C code:
http://linux.about.com/od/emacs_doc/a/emacsdoc45.htm
Misc tips:
http://www.rubick.com/openacs/emacs
quinta-feira, 10 de dezembro de 2009
.emacs
;; Show line-number in the mode line
(line-number-mode 1)
;; Show column-number in the mode line
(column-number-mode 1)
;; Use spaces instead of tabs to indent
(setq-default indent-tabs-mode nil)
;; Easy compile
(global-set-key [f11] 'compile)
(line-number-mode 1)
;; Show column-number in the mode line
(column-number-mode 1)
;; Use spaces instead of tabs to indent
(setq-default indent-tabs-mode nil)
;; Easy compile
(global-set-key [f11] 'compile)
Subscrever:
Comentários (Atom)