Minutes on Setting Up Emacs on Macos

  1. I am am using gui emacs and I want to it to be started from the command line, then I have to do this:
1
alias emacs='open -a /Applications/Emacs.app $1'
  1. I want to change the default font and font size:
1
(set-default-font "Monaco 28")
  1. I want to use evil, after putting it into ~/.emacs.d, also I need to put the folliwng things in to ~/.emacs.d/init.el
1
2
3
(add-to-list 'load-path "~/.emacs.d/evil")
(require 'evil)
(evil-mode 1)
  1. I am using slime, so I have to put the following things into my ~/.emacs.d/init.el
1
2
(setq inferior-lisp-program "/usr/local/bin/sbcl")
(setq slime-contribs '(slime-fancy))