From a5aec9e8e8a4ddf143bb5a21182c6945b3f3d08f Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 9 Apr 2023 11:54:09 +0100 Subject: Add circe and small tweaks --- init.el | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index ab13844..b1061da 100644 --- a/init.el +++ b/init.el @@ -83,6 +83,7 @@ Should be one of `:white-split', `:modified' or `:default'") (use-package emacs :init + (setq native-comp-async-report-warnings-errors nil) (setq gnus-init-file (expand-file-name "gnus.el" user-emacs-directory)) (setq-default fill-column 80) @@ -90,6 +91,10 @@ Should be one of `:white-split', `:modified' or `:default'") (setq completion-cycle-threshold 3) (setq tab-always-indent 'complete) + (if ymh/macos-p + (setq shell-file-name "/usr/local/bin/fish") + (setq shell-file-name "/usr/bin/fish")) + (setq use-short-answers t) (setq inhibit-startup-message t) (setq confirm-nonexistent-file-or-buffer nil) @@ -417,7 +422,9 @@ https://yannherklotz.com")) ("g" . password-store-generate))) (use-package magit - :ensure t) + :ensure t + :init + (setq magit-diff-refine-hunk t)) (use-package org :init @@ -1100,6 +1107,25 @@ https://yannherklotz.com")) :ensure t :hook (org-mode . org-pdftools-setup-link)) +(use-package circe + :ensure t + :init + (setq circe-network-options + `(("Sourcehut Chat" + :host "chat.sr.ht" + :port 6697 + :use-tls t + :user "ymherklotz/irc.libera.chat" + :nick "ymherklotz" + :sasl-username "ymherklotz" + :sasl-password ,(ymh/pass "sr.ht/chat.sr.ht") + ))) + (setq circe-color-nicks-everywhere t) + (setq circe-reduce-lurker-spam t) + (setq circe-active-users-timeout 300) + :config + (enable-circe-color-nicks)) + (use-package flymake :bind (:map flymake-mode-map ("C-c f n" . flymake-goto-next-error) -- cgit