950198a2b7757027916e6743322388f183410ba8 — Theodor Thornhill 6 days ago 7060547 master
contrib/clients: Add information about emacs irc clients
1 files changed, 39 insertions(+), 0 deletions(-)

M contrib/clients.md
M contrib/clients.md => contrib/clients.md +39 -0
@@ 4,6 4,44 @@ This page describes how to configure IRC clients to better integrate with soju.

Also see the [IRCv3 support tables] for a more general list of clients.

# [Emacs]

There are two clients provided with Emacs. They require some setup to work

## Erc

You need to explicitly set the username, which is the defcustom

(setq erc-email-userid "<username>/irc.libera.chat") ;; Example with Libera.Chat
(defun run-erc ()
  (erc-tls :server "<server>"
           :port 6697
           :nick "<nick>"
           :password "<password>"))

Then run `M-x run-erc`.

## Rcirc

The only thing needed here is the general config:

(setq rcirc-server-alist
         :port 6697
         :encryption tls
         :nick "<nick>"
         :user-name "<username>/irc.libera.chat" ;; Example with Libera.Chat
         :password "<password>")))

Then run `M-x irc`.

# [gamja]

gamja has been designed together with soju, so should have excellent

@@ 45,3 83,4 @@ See `/help cap` for more information.
[Weechat]: https://weechat.org/
[Weechat script]: https://github.com/weechat/scripts/blob/master/python/soju.py
[Hexchat]: https://hexchat.github.io/
[Emacs]: https://www.gnu.org/software/emacs/