literate-config

Literate config. See <a href="../readme.org">readme.org</a> for a better-formatted version
Log | Files | Refs

commit fe033bb3f4a79e14b2dfa6ab0297801ce052f475
parent 6eb330fcbc9b9e6d1fdf6cd3a59b34c84c07c18f
Author: Crazazy <crazazy@tilde.cafe>
Date:   Thu,  5 Jan 2023 14:21:20 +0100

add more erc defaults

Diffstat:
Memacs.org | 39+++++++++++++++++++++++----------------
1 file changed, 23 insertions(+), 16 deletions(-)

diff --git a/emacs.org b/emacs.org @@ -75,23 +75,30 @@ Also, if you just stumbled accross this at random, there is an easy tangle butto with my preferred nickname #+begin_src emacs-lisp :tangle emacsconfig/extras.el (use-package erc - :custom - (erc-server-reconnect-attempts 10) - (erc-nick "crazazy") - :config - (defmacro irc-quickjoin (servername url &optional nick) - "create a function to quickly join a server. Servers can be joined with M-x SERVERNAME-irc" - `(defun ,(intern (concat (symbol-name servername) "-irc")) (password) - (interactive (list (password-read "Password: "))) - (erc-tls :server ,url - :nick ,(if nick - nick - "crazazy") - :port 6697 - :password password))) + :custom + (erc-server-reconnect-attempts 10) + (erc-nick "crazazy") + (erc-autojoin-channels-alist '(("tilde.chat" + "#cafe" + "#meta") + ("libera.chat" + "#emacs" + "#haskell" + "#systemcrafters"))) + :config + (defmacro irc-quickjoin (servername url &optional nick) + "create a function to quickly join a server. Servers can be joined with M-x SERVERNAME-irc" + `(defun ,(intern (concat (symbol-name servername) "-irc")) (password) + (interactive (list (password-read "Password: "))) + (erc-tls :server ,url + :nick ,(if nick + nick + "crazazy") + :port 6697 + :password password))) - (irc-quickjoin tilde "eu.tilde.chat") - (irc-quickjoin libera "irc.libera.chat")) + (irc-quickjoin tilde "eu.tilde.chat") + (irc-quickjoin libera "irc.libera.chat")) #+end_src *** Dashboard Gives me access to the most recent files I edited, and some other stuff that I don't really care about