This is my global Emacs configuration directory, ~/.emacs.d/
. It
contains my Emacs settings and abbreviation files, as well as numerous
extensions for the editor which I have either copied from elsewhere or
written myself.
Aside from checking out this repository to ~/.emacs.d/
, no special
installation actions are required on Unix-like systems. However, make sure
you don't have an old ~/.emacs
or ~/.emacs.el
file sitting around on
your system, as this will supersede ~/.emacs.d/init.el
in GNU Emacs's
search path.
Also, if you're installing on Windows, set the environment variable HOME to reference your home directory. If this variable is not set my Emacs startup script will attempt to infer it from the Windows HOMEDRIVE and HOMEPATH variables, but I don't know how reliable this method is.
External dependencies are installed from the ELPA and MELPA Stable repositories, and are managed using the selected packages mechanism. When setting up this configuration on a new machine, install these dependencies by running:
M-x package-install-selected-packages
Then restart Emacs.
My startup script will look for a file named ~/.emacs.local.el
; if it is
found, this file will be loaded during Emacs startup. This provides a
method for making machine-local customizations to the Emacs startup.
Provided below is a collection of some local customization recipes that may prove useful:
(setf (default-value 'buffer-file-coding-system) 'utf-8-unix)
(when (featurep 'slime)
(setq inferior-lisp-program "clisp")
(add-to-list 'slime-lisp-implementations '(clisp ("clisp"))))
(if (eql system-type 'windows-nt)
(setq tramp-default-method "plink")
(setq tramp-default-method "ssh"))
(setq local-server-selection '(:emacs))
Adjust ps-lpr-command
for your machine's gswin32c.exe
executable path.
(setq ps-lpr-command "C:/Program Files/gs/gs8.64/bin/gswin32c.exe"
ps-lpr-switches '("-q" "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2")
ps-printer-name t)
(setq calendar-longitude -80.39
calendar-latitude 27.64
calendar-location-name "Vero Beach, FL")
(setq calendar-time-zone -300
calendar-standard-time-zone-name "EST"
calendar-daylight-time-zone-name "EDT")
(setq local-color-theme 'color-theme-classic)
(setq sudoku-level "medium")