spacemacs/contrib/!irc/erc
Christopher McCloud 0703d45d94 check for dbus before add erc-notify hook.
OSX doesn't have dbus support. 'erc-global-notify makes a call to
notifications which relies on dbus. Check to see if
dbus-compiled-version exists before adding hook.

Note: This variable is added in emacs 24.3. There may be a better way to
check for dbus support.
2015-08-26 21:37:24 -04:00
..
extensions
README.org
config.el
extensions.el
packages.el check for dbus before add erc-notify hook. 2015-08-26 21:37:24 -04:00

README.org

ERC contribution layer for Spacemacs

Description

Layer for ERC IRC chat.

Features

  • Highlight nicks (using erc-hl-nicks)
  • Image inline support (using erc-image)
  • Logging to ~/.emacs.d/.cache/erc-logs and ViewLogMode for viewing logs (using erc-view-log)
  • YouTube videos Thumbnails inline (using erc-yt)
  • Social Graph for ERC messages (using erc-social-graph)
  • ERC yank, if pasting more than 5 lines, create a gist for it. (needs to have github layer enabled, or using gist package)
  • Optional SASL authentication via the variable erc-enable-sasl-auth (using erc-sasl)

Install

Layer

To use this contribution add it to your ~/.spacemacs

  (setq-default dotspacemacs-configuration-layers '(erc))

OS X

It's recommended to install the terminal-notifier gem so that you get notifications via the OS X Notification Center.

Social graph

erc-social-graph needs graphviz to be installed on your system.

Key bindings

Key Binding Description
SPC a i e Starts ERC
SPC a i E Starts ERC via TLS/SSL
SPC a i i Switch to next active ERC buffer
SPC m b Switch between ERC buffers
SPC m d Interactively input a user action and send it to IRC.
SPC m D Draw Social Graph using erc-social-graph
SPC m j Join a channel, executes the /join command
SPC m n Run "/names #channel" in the current channel.
SPC m l Run the /list command
SPC m p Part from the channel
SPC m q Quit server

Note: If you want to connect securely to an IRC server, you must run erc-tls command on SPC a i E instead of the erc command.