view .emacs @ 388:c35759aceed4

emacs: add a hook to handle ANSI colors in compilation buffers Some tools just blindly assume they're printing to a color-supporting terminal. Since fixing them is probably impractical, we'll just work around their stupidity.
author Augie Fackler <raf@durin42.com>
date Mon, 01 Feb 2016 17:30:54 -0500
parents 08af9e123baa
children 9a2541ec4d4d
line wrap: on
line source

;; Augie Fackler's .emacs file
; Places I've stolen from:
;  Karl Fogel: http://svn.red-bean.com/repos/kfogel/trunk
;  Dave Anderson: https://ssl.natulte.net/hg/dotfiles/
;  Emacs Starter Kit: http://github.com/technomancy/emacs-starter-kit

; Start the server so that emacsclient will work
(server-start)

(setq custom-file "~/.elisp/settings/01.custom.el")

(let ((settings-files (concat (getenv "HOME") "/.elisp/settings")))
  (mapc '(lambda (p) (load (concat settings-files "/" p)))
        (directory-files settings-files nil "^[0-9].*el$")))

(if (file-regular-p (expand-file-name (concat (getenv "HOME")
                                              "/.emacs-machine.el")))
    (load (expand-file-name "~/.emacs-machine.el")))