Changeset 765 in code for trunk/contrib


Ignore:
Timestamp:
Jan 13, 2022, 3:06:54 PM (3 years ago)
Author:
theo
Message:

contrib/clients: Add information about emacs irc clients

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/contrib/clients.md

    r718 r765  
    44
    55Also see the [IRCv3 support tables] for a more general list of clients.
     6
     7# [Emacs]
     8
     9There are two clients provided with Emacs. They require some setup to work
     10properly.
     11
     12## Erc
     13
     14You need to explicitly set the username, which is the defcustom
     15`erc-email-userid`.
     16
     17```elisp
     18(setq erc-email-userid "<username>/irc.libera.chat") ;; Example with Libera.Chat
     19(defun run-erc ()
     20  (interactive)
     21  (erc-tls :server "<server>"
     22           :port 6697
     23           :nick "<nick>"
     24           :password "<password>"))
     25```
     26
     27Then run `M-x run-erc`.
     28
     29## Rcirc
     30
     31The only thing needed here is the general config:
     32
     33```elisp
     34(setq rcirc-server-alist
     35      '(("<server>"
     36         :port 6697
     37         :encryption tls
     38         :nick "<nick>"
     39         :user-name "<username>/irc.libera.chat" ;; Example with Libera.Chat
     40         :password "<password>")))
     41```
     42
     43Then run `M-x irc`.
    644
    745# [gamja]
     
    4684[Weechat script]: https://github.com/weechat/scripts/blob/master/python/soju.py
    4785[Hexchat]: https://hexchat.github.io/
     86[Emacs]: https://www.gnu.org/software/emacs/
Note: See TracChangeset for help on using the changeset viewer.