summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-10-21 19:00:43 -0500
committerCase Duckworth2021-10-21 19:00:43 -0500
commit0e4ccb882cccd8ae6d8270c1c3f0dcb922ae7709 (patch)
treefe429a7c75ec6aed411a06dea447fb0795680a59
parentLog DONE keywords (diff)
downloademacs-0e4ccb882cccd8ae6d8270c1c3f0dcb922ae7709.tar.gz
emacs-0e4ccb882cccd8ae6d8270c1c3f0dcb922ae7709.zip
Format more circe messages
-rw-r--r--init.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/init.el b/init.el index ffbc2f2..5a8cc48 100644 --- a/init.el +++ b/init.el
@@ -1191,6 +1191,10 @@ specific to most general, they are these:
1191 (require 'acdw-irc) 1191 (require 'acdw-irc)
1192 (:also-load acdw-circe) 1192 (:also-load acdw-circe)
1193 1193
1194 (defun acdw-circe/format-meta (string)
1195 "Return a format string for `lui-format'."
1196 (format "{nick:%1$d.%1$ds} *** %s" (- acdw-irc/left-margin 3) string))
1197
1194 (:option acdw-irc/left-margin 20 1198 (:option acdw-irc/left-margin 20
1195 circe-channel-killed-confirmation nil 1199 circe-channel-killed-confirmation nil
1196 circe-color-nicks-everywhere t 1200 circe-color-nicks-everywhere t
@@ -1207,6 +1211,17 @@ specific to most general, they are these:
1207 circe-format-self-say (format 1211 circe-format-self-say (format
1208 "{nick:%1$d.%1$ds} > {body}" 1212 "{nick:%1$d.%1$ds} > {body}"
1209 (- acdw-irc/left-margin 3)) 1213 (- acdw-irc/left-margin 3))
1214 circe-format-server-part (acdw-circe/format-meta
1215 "PART {channel}: {reason}")
1216 circe-format-server-quit (acdw-circe/format-meta "QUIT: {reason}")
1217 circe-format-server-quit-channel (acdw-circe/format-meta
1218 "QUIT {channel}: {reason}")
1219 circe-format-server-join (acdw-circe/format-meta "JOIN: {userinfo}")
1220 circe-format-server-rejoin (acdw-circe/format-meta
1221 (concat "REJOIN: {userinfo}"
1222 " after {departuredelta}"))
1223 circe-format-server-topic (acdw-circe/format-meta
1224 "TOPIC: {new-topic}")
1210 circe-prompt-string (format (format "%%%ds> " 1225 circe-prompt-string (format (format "%%%ds> "
1211 (- acdw-irc/left-margin 2)) 1226 (- acdw-irc/left-margin 2))
1212 " ") 1227 " ")