From 2e0c002469cd19429ff3468fac9ee0ffbc7ccf59 Mon Sep 17 00:00:00 2001 From: xfnw Date: Mon, 24 Oct 2022 14:16:14 -0400 Subject: [PATCH] more circe options --- .emacs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.emacs b/.emacs index 18bc216..f819adf 100644 --- a/.emacs +++ b/.emacs @@ -38,6 +38,9 @@ '(circe-format-self-say "<{nick}> {body}") '(circe-format-server-netmerge "*** Netjoin: {split}, split {ago} ago (Use /WL to see who's still missing)") + '(circe-format-server-quit "*** Quit: {nick} ({userhost}) quit ({reason})") + '(circe-format-server-quit-channel "*** Quit: {nick} ({userhost}) quit ({reason})") + '(circe-format-server-topic "*** Topic change by {nick} ({userhost}): {topic-diff}") '(circe-server-send-unknown-command-p t) '(circe-use-cycle-completion t) '(company-minimum-prefix-length 4) @@ -54,6 +57,9 @@ '(initial-scratch-message ";; Meow! Welcome to the scratching post! ") + '(lui-fill-column 105) + '(lui-logging-directory (concat user-emacs-directory "irclogs")) + '(lui-logging-flush-delay 2) '(menu-bar-mode nil) '(org-agenda-files '(".")) '(org-agenda-start-on-weekday 0) @@ -105,7 +111,7 @@ (require 'evil) (evil-set-initial-state 'term-mode 'emacs) -(evil-set-initial-state 'circe-mode 'insert) +(evil-set-initial-state 'circe-mode 'emacs) (evil-mode 1) (evil-define-operator evil-fill-justify (beg end) @@ -178,6 +184,11 @@ (add-hook 'doc-view-mode-hook 'auto-revert-mode) +(defalias 'circe-command-J 'circe-command-JOIN) + +(load "lui-logging" nil t) +(enable-lui-logging-globally) + (defvar move-file-default-target "~/Documents/" "move-file's default target") ;; borrowed from https://emacs.stackexchange.com/a/45910/37594