commit f71e8eeab2d68c1f3e3dba2979656e956752dfc7
Author: Simon Watson <spw01@protonmail.com>
Date: Tue Jul 6 21:02:41 2021 -0400
A few more small emacs options
diff --git a/emacs/.emacs-mac b/emacs/.emacs-mac
index 773a24e..79b114c 100644
--- a/emacs/.emacs-mac
+++ b/emacs/.emacs-mac
@@ -1,6 +1,10 @@
+;;; Slime/etc
(setq inferior-lisp-program "/opt/homebrew/bin/sbcl")
(load (expand-file-name "~/.local/opt/quicklisp/slime-helper.el"))
-(slime-setup '(slime-fancy slime-company))
+
+;;; erc config
+(setq erc-nick "speskk")
+
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
@@ -31,9 +35,21 @@
(straight-use-package 'markdown-mode)
(straight-use-package 'moe-theme)
(straight-use-package 'ample-theme)
+(straight-use-package 'slime)
+(straight-use-package 'ac-slime)
-(require 'markdown-mode)
+(require 'auto-complete)
+(global-auto-complete-mode t)
+
+(require 'slime)
+(require 'ac-slime)
+(slime-setup '(slime-fancy ac-slime))
+(add-hook 'slime-mode-hook 'set-up-slime-ac)
+(add-hook 'slime-repl-mode-hook 'set-up-slime-ac)
+(eval-after-load "auto-complete"
+ '(add-to-list 'ac-modes 'slime-repl-mode))
+(require 'markdown-mode)
(require 'powerline)
(powerline-default-theme)
@@ -44,9 +60,6 @@
(require 'dashboard)
(dashboard-setup-startup-hook)
-(require 'auto-complete)
-(global-auto-complete-mode t)
-
(require 'all-the-icons)
(require 'sublimity-scroll)
@@ -69,6 +82,10 @@
`((".*" ,temporary-file-directory t)))
(load-theme 'moe-light t)
+
+(display-time-mode t)
+(display-line-numbers-mode t)
+
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.