1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/lisp/erc
Kevin Brubeck Unhammer 9bb8d90cdd Allow irc network symbols in erc-autojoin-channels-alist
* lisp/erc/erc-join.el (erc-autojoin-channels-alist): Explain the
extension.
(erc-autojoin-server-match): New function.
(erc-autojoin-channels): Use it.
(erc-autojoin-current-server): New function.
(erc-autojoin-add): Use it.
(erc-autojoin-remove): Ditto.

This can be useful when connecting to an IRC proxy like Weechat that
relays several networks under the same server. If we just keyed on the
server name, we would end up joining a channel on all networks
whenever we join one network on that server.

Networks are simply stored as symbols instead of regexes, since that's
how `erc-network' works.

The `erc-autojoin-add' function will still auto-add servers as strings
if the network doesn't have at least one entry in
`erc-autojoin-channels-alist'.
2021-09-16 15:50:14 +02:00
..
ChangeLog.1
ChangeLog.2
erc-autoaway.el
erc-backend.el ERC: Use 'string-search' only on Emacs 28 and later 2021-09-12 14:32:12 -04:00
erc-button.el Prefer "website" to "homepage" 2021-09-16 15:42:44 +02:00
erc-capab.el
erc-dcc.el ERC: Use 'string-replace' only on Emacs 28 and later 2021-09-12 14:32:13 -04:00
erc-desktop-notifications.el
erc-ezbounce.el
erc-fill.el
erc-goodies.el
erc-ibuffer.el Merge from origin/emacs-27 2021-08-02 22:39:43 -04:00
erc-identd.el
erc-imenu.el
erc-join.el Allow irc network symbols in erc-autojoin-channels-alist 2021-09-16 15:50:14 +02:00
erc-lang.el
erc-list.el
erc-log.el
erc-match.el
erc-menu.el
erc-netsplit.el
erc-networks.el Remove function obsolete since 22.1 2021-09-15 23:21:34 +02:00
erc-notify.el
erc-page.el
erc-pcomplete.el
erc-replace.el
erc-ring.el
erc-services.el Merge from origin/emacs-27 2021-07-04 00:14:47 -04:00
erc-sound.el
erc-speedbar.el ERC: Use 'string-search' only on Emacs 28 and later 2021-09-12 14:32:12 -04:00
erc-spelling.el
erc-stamp.el Merge from origin/emacs-27 2021-08-06 08:49:32 -07:00
erc-status-sidebar.el
erc-track.el ERC: Track: Fix a perceived minor bug in mode line face selection 2021-09-12 01:12:59 -04:00
erc-truncate.el
erc-xdcc.el
erc.el Change the erc debug logging format to be more repeatable 2021-09-16 15:35:55 +02:00