1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-26 01:40:53 -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 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.2 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
erc-autoaway.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
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 Prefer https and fix broken links in ERC 2021-03-20 10:00:28 +01:00
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 ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
erc-ezbounce.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-fill.el * lisp/**/*.el: Avoid positional args to define-minor-mode 2021-04-11 23:47:14 -04:00
erc-goodies.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
erc-ibuffer.el Merge from origin/emacs-27 2021-08-02 22:39:43 -04:00
erc-identd.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-imenu.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
erc-join.el Allow irc network symbols in erc-autojoin-channels-alist 2021-09-16 15:50:14 +02:00
erc-lang.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-list.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-log.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-match.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-menu.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
erc-netsplit.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-networks.el Remove function obsolete since 22.1 2021-09-15 23:21:34 +02:00
erc-notify.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-page.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
erc-pcomplete.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-replace.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
erc-ring.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
erc-services.el Merge from origin/emacs-27 2021-07-04 00:14:47 -04:00
erc-sound.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-speedbar.el ERC: Use 'string-search' only on Emacs 28 and later 2021-09-12 14:32:12 -04:00
erc-spelling.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-stamp.el Merge from origin/emacs-27 2021-08-06 08:49:32 -07:00
erc-status-sidebar.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
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 lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-xdcc.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc.el Change the erc debug logging format to be more repeatable 2021-09-16 15:35:55 +02:00