From 2c9b53bfedb76daaad0c8bf64d65476fde95b8c8 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Fri, 10 Jan 2020 13:40:24 -0800 Subject: [PATCH] Some changes --- arch-configs/fresh_install.sh | 4 +++- dotfiles/emacs.d/init.el | 13 +++++++------ dotfiles/emacs.d/package.el | 11 +++++------ 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/arch-configs/fresh_install.sh b/arch-configs/fresh_install.sh index 40e6ba5..3953fc5 100755 --- a/arch-configs/fresh_install.sh +++ b/arch-configs/fresh_install.sh @@ -13,7 +13,7 @@ # Update system # -sudo pacman -Syyu +sudo pacman -Syyu # Packages - Add stuff you want installed here # @@ -37,6 +37,8 @@ YAY_PACKAGES=( "nordvpn-bin" # Nice manager for NordVPN \ "global" # GNU source tagging \ "cmake" # CMake build system \ "pyenv-virtualenv" \ + "gnuradio" \ + "gqrx" \ ) # First install essential packages diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 864eb60..e1ef979 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -158,6 +158,11 @@ (add-hook 'scheme-mode-hook #'aggressive-indent-mode) (add-hook 'clojure-mode-hook #'aggressive-indent-mode) +;; Slime - requires SBCL to be installed in /usr/local/bin/ (default for the install.sh +;; script) +(setq inferior-lisp-program "/usr/local/bin/sbcl") +(setq slime-contribs '(slime-fancy)) + ;;-------------------------------------------------------------------------------------- ;; Save hooks ;;-------------------------------------------------------------------------------------- @@ -182,14 +187,10 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. + '(lisp-indent-function (quote common-lisp-indent-function)) '(package-selected-packages (quote - (projectile smex grizzl flycheck-pos-tip flycheck material-theme expand-region wrap-region rainbow-delimiters powerline linum-relative golden-ratio fill-column-indicator autopair exec-path-from-shell ws-butler yaml-mode python-mode protobuf-mode paredit nasm-mode meson-mode markdown-mode magit gradle-mode gitignore-mode feature-mode counsel company-jedi jedi-core company-emacs-eclim company-irony company ag))) - - ;; Not technically a mode but mode enough. This forces emacs to ident common lisp - ;; like common lisp instead of like emacs lisp, which has unlimited else clauses in - ;; the if statement (implicit progn) and as such indents it funny. - '(lisp-indent-function 'common-lisp-indent-function)) + (projectile smex grizzl flycheck-pos-tip flycheck material-theme expand-region wrap-region rainbow-delimiters powerline linum-relative golden-ratio fill-column-indicator autopair exec-path-from-shell ws-butler yaml-mode python-mode protobuf-mode paredit nasm-mode meson-mode markdown-mode magit gradle-mode gitignore-mode feature-mode counsel company-jedi jedi-core company-emacs-eclim company-irony company ag)))) (custom-set-faces ;; custom-set-faces was added by Custom. diff --git a/dotfiles/emacs.d/package.el b/dotfiles/emacs.d/package.el index d48f4a5..1c57d8b 100644 --- a/dotfiles/emacs.d/package.el +++ b/dotfiles/emacs.d/package.el @@ -1,6 +1,6 @@ (require 'cl) -(defvar my-packages '(ag +(defvar my-packages '(ag ;; Completion Frameworks company company-irony @@ -33,6 +33,7 @@ protobuf-mode python-mode yaml-mode + slime ;;;;;;;;;;;;;;;;;;;; ;; Cleanup @@ -49,7 +50,7 @@ ;; Keeps things indented even when you don't want it to aggressive-indent ;;;;;;;;;;;;;;;;;; - + ;; UI fill-column-indicator golden-ratio @@ -69,8 +70,8 @@ smex projectile ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - - ) + + ) "Packages to make sure are installed") (defun my-packages-installed-p () @@ -85,5 +86,3 @@ (dolist (p my-packages) (when (not (package-installed-p p)) (package-install p)))) - -