Repository navigation
Bring the ERC module up to date - #1496
Merged
Merged
Conversation
bbatsov
force-pushed
the
overhaul-erc
branch
from
November 24, 2026 11:52
83e9f82 to
c406701
Compare
Freenode, the server it connected to, has been gone since 2021; it's Libera.Chat now, where most of the free software channels moved. The docs also listed irc.mozilla.org, which closed in 2020. The module loaded ERC at startup. Its options are set without loading it now, which ERC's definitions respect, so personal config and Customize still get the last word; only the additions to erc-modules wait for ERC to load. Spell checking was turned on with a global mode; it's ERC's spelling module in that list now. The log directory was created at startup, even though logging isn't on unless the user turns on ERC's log module. It's created when that loads now, parents included, which ERC doesn't do itself. The commands and variables had names like start-irc and my-fav-irc, outside of Prelude's namespace, and erc-notify-allowed-p sat in ERC's own while nothing called it. The commands and options are now prelude-erc-start, prelude-erc-stop, prelude-erc-servers and prelude-erc-quit-message, the old names being obsolete aliases, and the unused function is gone. Connecting doesn't pass erc-nick to erc-tls anymore, as ERC works out the nickname itself, and reading it before ERC was loaded failed once the module was byte-compiled.
bbatsov
force-pushed
the
overhaul-erc
branch
from
November 24, 2026 12:40
c406701 to
85e07c6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ERC module still connected to Freenode, loaded ERC (and created a log directory) at startup, and used names like
start-ircandmy-fav-ircoutside Prelude's namespace, plus an unusederc-notify-allowed-pin ERC's.It now defaults to Libera.Chat and configures ERC once it loads. The commands and options are
prelude-erc-start,prelude-erc-stop,prelude-erc-serversandprelude-erc-quit-message, with the old names kept as obsolete aliases so existing configs keep working.erc-notify-allowed-pis removed outright, as nothing in Prelude called it.