about summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el98
1 files changed, 76 insertions, 22 deletions
diff --git a/init.el b/init.el index 7cc4e43..066741a 100644 --- a/init.el +++ b/init.el
@@ -549,28 +549,82 @@
549 (:also-load circe-chanop) 549 (:also-load circe-chanop)
550 550
551 ;; Formatting options 551 ;; Formatting options
552 (:option circe-format-action (format (format "%%%ds* {nick} {body}" 552 (:option
553 (- +circe-left-margin 2)) 553 ;; Messages between users
554 " ") 554 circe-format-action (format (format "%%%ds* {nick} {body}"
555 circe-format-say (format "{nick:%1$d.%1$ds} | {body}" 555 (- +circe-left-margin 2))
556 (- +circe-left-margin 3)) 556 " ")
557 circe-format-self-action circe-format-action 557 circe-format-say (format "{nick:%1$d.%1$ds} | {body}"
558 circe-format-self-say (replace-regexp-in-string "|" ">" 558 (- +circe-left-margin 3))
559 circe-format-say) 559 circe-format-self-action circe-format-action
560 circe-format-server-part (+circe-format-meta 560 circe-format-self-say (replace-regexp-in-string "|" ">" circe-format-say)
561 "PART {channel}: {reason}") 561 circe-format-notice (format "-{nick:%1$d.%1$ds}---{body}"
562 circe-format-server-quit (+circe-format-meta "QUIT: {reason}") 562 (- +circe-left-margin 4))
563 circe-format-server-quit-channel (+circe-format-meta 563 circe-format-message (format (format "%%%ds@ *{nick}* {body}"
564 "QUIT {channel}: {reason}") 564 (- +circe-left-margin 2))
565 circe-format-server-join (+circe-format-meta "JOIN: {userinfo}") 565 " ")
566 circe-format-server-rejoin (+circe-format-meta 566 circe-format-message-action (replace-regexp-in-string "@" "*"
567 (concat "REJOIN: {userinfo} " 567 circe-format-message)
568 "after {departuredelta}")) 568 circe-format-self-message (format (format "%%%ds> *{chattarget}* {body}"
569 circe-format-server-topic (+circe-format-meta 569 (- +circe-left-margin 2))
570 "TOPIC: {new-topic}") 570 " ")
571 circe-prompt-string (format (format "%%%ds> " 571 ;; Meta messages
572 (- +circe-left-margin 2)) 572 circe-format-server-channel-creation-time (+circe-format-meta
573 " ")) 573 (concat "Channel {channel}"
574 " created on {date}") t)
575 circe-format-server-ctcp (+circe-format-meta
576 (concat "CTCP PING request to {target} from"
577 " {userhost}: {body}"))
578 circe-format-server-ctcp-ping-reply (+circe-format-meta
579 (concat
580 "CTCP PING reply to {target} from"
581 " {userhost}: {body}"))
582 circe-format-server-part (+circe-format-meta "PART {channel}: {reason}")
583 circe-format-server-quit (+circe-format-meta "QUIT: {reason}")
584 circe-format-server-quit-channel (+circe-format-meta
585 "QUIT {channel}: {reason}")
586 circe-format-server-join (+circe-format-meta "JOIN: {userinfo}")
587 circe-format-server-join-in-channel (+circe-format-meta
588 "JOIN {channel}: {userinfo}")
589 circe-format-server-lurker-activity (+circe-format-meta
590 "(JOINED {joindelta} ago)")
591 circe-format-server-message (+circe-format-meta "{body}" t)
592 circe-fromat-server-mode-change (+circe-format-meta
593 (concat "MODE: {target} {change}"
594 " by {setter} ({userhost})") t)
595 circe-format-server-netmerge (+circe-format-meta
596 (concat "NETMERGE: {split} at {date}"
597 " (/WL to see who's still missing)") t)
598 circe-format-server-netsplit (+circe-format-meta
599 (concat "NETSPLIT: {split}"
600 " (/WL to see who left)") t)
601 circe-format-server-nick-change (+circe-format-meta
602 "NICK WAS {old-nick} ({userhost})"
603 "new-nick")
604 circe-format-server-nick-regain (+circe-format-meta
605 "NICK REGAINED: {old-nick} ({userhost})"
606 "new-nick")
607 circe-format-server-notice (+circe-format-meta "-SERVER NOTICE- {body}" t)
608 circe-format-server-topic-time (+circe-format-meta
609 "TOPIC SET BY {setter} on {topic-date}")
610 circe-format-server-topic-time-for-channel (+circe-format-meta
611 (concat
612 "TOPIC ({channel}) SET BY"
613 " {setter} on {topic-date}"))
614 circe-format-server-whois-idle (+circe-format-meta "IDLE FOR {idle-duration}"
615 "whois-nick")
616 circe-format-server-whois-idle-with-signon (+circe-format-meta
617 (concat
618 "IDLE FOR {idle-duration}"
619 " (signon: {signon-date})")
620 "whois-nick")
621 circe-format-server-rejoin (+circe-format-meta
622 (concat "REJOIN: {userinfo} "
623 "after {departuredelta}"))
624 circe-format-server-topic (+circe-format-meta "TOPIC: {new-topic}")
625 circe-prompt-string (format (format "%%%ds> "
626 (- +circe-left-margin 2))
627 " "))
574 628
575 (:option +circe-server-buffer-action (lambda (buf) 629 (:option +circe-server-buffer-action (lambda (buf)
576 (message "Connected to %s" buf)) 630 (message "Connected to %s" buf))