Still new to Emacs and Doom so i am reading a ton of information.
But i still ignore how to make changes (customize) some already installed packages.
For instance, I would like to get authenticated and join some channel automatically using erc-tls.
To achieve this, I tried the lots of things like: ^((use-package! erc)) or ^((package! erc)) etc.
Then i paste this:
^((setq erc-prompt (lambda () (concat "\[" (buffer-name) "\]")) erc-server "irc.libera.chat" erc-nick "NICK" erc-user-full-name "FULLNAME" erc-track-shorten-start 24 erc-autojoin-channels-alist '(("irc.libera.chat" "#gentoo"")) erc-kill-buffer-on-part t erc-fill-column 100 erc-fill-function 'erc-fill-static erc-fill-static-center 20 ;; erc-auto-query 'bury ))
I put everything in the config.el file but nothing works.
I am using Emacs 28.1 with Doom 3.0, under Gentoo Linux.
I tried some very simple changes but nothing changed.
Can someone explain me how things work here?
Thanks in advance,
Shiru
EDIT: I can log in to ERC without giving my credentials thanks to this: [https://libera.chat/guides/emacs-erc](https://libera.chat/guides/emacs-erc) (The second part of the code because I already have the first part by using Doom).
The only issue is I still cannot get the channel autojoin option...
EDIT2: Succeed: I can autojoin channels.
The very last issue is that ERC connect automatically when i launch Doom Emacs. Is there a way to avoid this?