dotfiles

shared miscellaneous configuration files between my systems
git clone git://git.eonn.xyz/dotfiles.git
Log | Files | Refs

commit 15d1c808dfd0524706fcd60319225215791ec494
parent 99e41a2b442c108322e83bcf153fe919c78712fc
Author: Ian Ressa <ian@eonn.xyz>
Date:   Fri,  4 Feb 2022 15:21:00 -0500

adding .emacs entries for Geiser, YASnippet, ParEdit

Diffstat:
M.emacs.d/init.el | 43++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 42 insertions(+), 1 deletion(-)

diff --git a/.emacs.d/init.el b/.emacs.d/init.el @@ -32,7 +32,28 @@ '(org-directory '("~/.org/")) '(org-modules '(ol-bbdb ol-bibtex ol-docview ol-eww ol-gnus org-habit ol-info ol-irc ol-mhe ol-rmail ol-w3m)) - '(package-selected-packages '(auctex))) + '(package-selected-packages '(auctex)) + '(safe-local-variable-values + '((eval modify-syntax-entry 43 "'") + (eval modify-syntax-entry 36 "'") + (eval modify-syntax-entry 126 "'") + (eval let + ((root-dir-unexpanded + (locate-dominating-file default-directory ".dir-locals.el"))) + (when root-dir-unexpanded + (let* + ((root-dir + (expand-file-name root-dir-unexpanded)) + (root-dir* + (directory-file-name root-dir))) + (unless + (boundp 'geiser-guile-load-path) + (defvar geiser-guile-load-path 'nil)) + (make-local-variable 'geiser-guile-load-path) + (require 'cl-lib) + (cl-pushnew root-dir* geiser-guile-load-path :test #'string-equal)))) + (eval setq-local guix-directory + (locate-dominating-file default-directory ".dir-locals.el"))))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. @@ -42,3 +63,23 @@ (add-to-list 'load-path "/home/ian/.guix-profile/share/emacs/site-lisp") (guix-emacs-autoload-packages) + +;; ParEdit +(autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t) +(add-hook 'emacs-lisp-mode-hook #'enable-paredit-mode) +(add-hook 'eval-expression-minibuffer-setup-hook #'enable-paredit-mode) +(add-hook 'ielm-mode-hook #'enable-paredit-mode) +(add-hook 'lisp-mode-hook #'enable-paredit-mode) +(add-hook 'lisp-interaction-mode-hook #'enable-paredit-mode) +(add-hook 'scheme-mode-hook #'enable-paredit-mode) +;; + +;; Geiser +(with-eval-after-load 'geiser-guile + (add-to-list 'geiser-guile-load-path "~/repos/guix")) +;; + +;; YASnippet +(require 'yasnippet) +(yas-global-mode 1) +;;