erc Atom Feed

Description
An Emacs Internet Relay Chat client
Latest
erc-5.70.20260630.20.tar (.sig), 2026-Jul-01, 1.76 MiB
Maintainer
Amin Bandali <bandali@gnu.org>, F. Jason Park <jp@neverwas.me>
Website
https://www.gnu.org/software/emacs/erc.html
Browse ELPA's repository
CGit or Gitweb
All Dependencies
compat (.tar)
Badge
Manual
erc

To install this package from Emacs, use list-packages.

Full description

ERC is a powerful, modular, and extensible IRC client for Emacs.
For more information, visit the ERC page at
<https://www.gnu.org/software/emacs/erc.html>.

Configuration:

Use M-x customize-group RET erc RET to get an overview
of all the variables you can tweak.

Usage:

To connect to an IRC server, do

M-x erc RET

or

M-x erc-tls RET

to connect over TLS (encrypted).  Once you are connected to a
server, you can use C-h m or have a look at the ERC menu.

Old versions

erc-5.70.20260605.12.tar.lz2026-Jun-05 342 KiB
erc-5.70.20260520.232452.tar.lz2026-May-21 342 KiB
erc-5.70.20260512.211143.tar.lz2026-May-19 342 KiB
erc-5.7snapshot0.20260512.211143.tar.lz2026-May-13 342 KiB
erc-5.6.2.0.20260511.202620.tar.lz2026-May-12 341 KiB
erc-5.6.2snapshot0.20260430.154642.tar.lz2026-May-01 341 KiB
erc-5.6.1.0.20251021.182146.tar.lz2025-Oct-22 341 KiB
erc-5.6snapshot0.20240608.122114.tar.lz2024-Jun-08 333 KiB
erc-5.5.0.20230303.134918.tar.lz2023-Mar-04 228 KiB
erc-5.4.1.0.20230214.82500.tar.lz2023-Feb-15 228 KiB

News

ERC NEWS

Copyright (C) 2006-2026 Free Software Foundation, Inc.
See the end of the file for license conditions.

Please send ERC bug reports to 'bug-gnu-emacs@gnu.org',
and Cc the 'emacs-erc@gnu.org' mailing list as well.
If possible, use 'M-x erc-bug' or 'M-x report-emacs-bug'.

This file is about changes in ERC, the powerful, modular, and
extensible IRC (Internet Relay Chat) client distributed with
GNU Emacs since Emacs version 22.1.


* Changes in ERC 5.7

** A flexible 'match' API.
To the frustration many, ERC has long lacked of a flexible API for
reacting to a message's contents and envelope info, like its sender and
associated IRC command.  While the long-term plan is to transition to an
object-based formatting model that should offer more useful access to
the various parts of a message before they're assembled, it's become
obvious that users need something practical in the interim.  This
'match' API is based on a simple hook-like handler system that offers
more opportunities for things like filtering and styling.  See Info node
'Match API' to find out more.

** Exercise more control in skipping certain desktop notifications.
Skip select notifications that ERC would otherwise emit with new hook
option 'erc-desktop-notifications-skip-predicates'.  Its default members
skip messages from "fools" and those in untracked buffers.

** Opt out of desktop notifications from the active buffer.
Option 'erc-desktop-notifications-ignored-when-focused' can spare users
from being notified when interacting with the initiating buffer.

** Apply options granularly to specific connections or buffers.
Based on an idea drafted nearly a quarter century ago by ERC's earliest
contributors, the 'settings' module offers a ready-made method for
binding arbitrary user options to various "scopes" of interest.  It
leverages buffer-local variables and match conditions reminiscent of
'buffer-match-p'.

** Changes in the library API.

*** Module setup runs in query buffers on reconnect.
A module's setup would always run in channel buffers on reconnect, due
to channels being rejoined, but query buffers lacked a similar
opportunity to reinitialize their state for the new session.  This is no
longer the case.

*** Local modules activate in preferred order instead of in reverse.
In recent versions, ERC has enabled local modules in the reverse order
of that produced by the "set" function used by 'setopt' and the Custom
UI for the option 'erc-modules'.  Specifically, Built-in locals were
activated in reverse lexicographic order after third-party ones, which
were simply reversed as given.  Now, just like with global modules, ERC
preserves the preferred order when activating local modules for new
sessions.

*** Major-mode setup runs before global-module setup in 'erc-open'.
The "enable" body of a global module's minor-mode command will now see
'erc-mode' as the 'major-mode'.  Although ERC still delays its
major-mode hook until after it has initialized its main session
variables, a module can also now set any of its own variables that don't
depend on such initialization immediately and without fear of their
being killed.  For modules still needing to run delayed, session-aware
code, a new convenience macro called 'erc-with-initialized-session' is
now available to automate any 'erc-mode-hook' wrangling for you.

*** A predicate to detect if the current buffer is a channel.
New function 'erc-channel-buffer-p' is a channel-detecting complement to
'erc-query-buffer-p' and a light wrapper around 'erc-channel-p'.


* Changes in ERC 5.6.2

** Option 'erc-log-insert-log-on-open' can be a function.
Rather than insert redundant logs into all buffers when reconnecting,
which is what happens when this option is set to t, ERC 5.6.2 allows
users to exercise more control by specifying a predicate.  The provided
'erc-log-new-target-buffer-p' tells ERC to only insert logs when
creating a new target buffer, such as when issuing a "/JOIN" or a
"/QUERY" or when connecting for the first time with autojoin configured.
...
...