Hello,

Today we discussed IRC and rcIRC in the emacs lisp session.

Below is the setting we configured to connect to IRC from within emacs:

Step 1: write and save the below configuration inside .emacs file in your home 
directory

----

(setq rcirc-time-format "%Y-%m-%d %H:%M ")

(setq rcirc-default-nick "YOUR_USERNAME")
(setq rcirc-default-user-name "YOUR_USERNAME")
(setq rcirc-default-full-name "YOUR_USERNAME")

(setq rcirc-authinfo
      '(("freenode" nickserv "YOUR_USERNAME" "YOUR_PASSWORD")))

(setq rcirc-server-alist
      '(("irc.freenode.net"
          :port 6697
          :encryption tls
          :channels ("#strikr"))))

(setq rcirc-auto-authenticate-flat t)

(setq rcirc-track-minor-mode 1)

----

Step 2: After saving the file, start a new emacs session and run:
M-x irc RET

It will pick up the settings in the .emacs file and connect to irc.freenode.net 
server


Give it try !

Please feel free to ask any queries if you may have.

thanks
Ragini

Reply via email to