1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00
emacs/test/lisp/erc
F. Jason Park 2ddc480f44 Warn of absent networks module in ERC
* doc/misc/erc.texi: Add linkable note in Modules chapter about some
modules being required.  Also tweak markup in auth-source section.
* etc/ERC-NEWS: Mention the special role of `networks'.
* lisp/erc/erc-backend.el (erc--server-post-connect-hook): Add
internal hook for core modules to perform post-network-process,
pre-protocol config validation even when they haven't been loaded.
(erc--register-connection): Run `erc--server-post-connect-hook'.
* lisp/erc/erc-networks.el (erc-networks--bouncer-targets,
erc-networks-on-MOTD-end): Fix comments and doc strings.  Also change
former from constant to internal variable in case adjustment needed
between releases.
(erc-networks--warn-on-connect): New function to warn about the
`networks' module being absent from `erc-modules'.  This could
probably run at any time up to and including when the logical IRC
connection is established, but doing so at the process/protocol
boundary seems ideal.
* lisp/erc/erc-sasl.el (erc--register-connection): Defer to base
method instead of calling `erc-login' explicitly.
* lisp/erc/erc.el (erc-generate-new-buffer-name): Don't reconcile
buffer names when networks module not in play.
(erc-format-target-and/or-network): Don't assume networks module
loaded.
* test/lisp/erc/erc-scenarios-base-unstable.el:
(erc-scenarios-networks-no-module): New test.
* test/lisp/erc/resources/networks/no-module/basic.eld: New test data
file.  (Bug#60331.)
2022-12-28 06:51:38 -08:00
..
resources Warn of absent networks module in ERC 2022-12-28 06:51:38 -08:00
erc-dcc-tests.el ; Make some ERC test fixtures a bit more courteous 2022-11-16 21:34:36 -08:00
erc-join-tests.el ; Fix typos (don't abbreviate "with" or "without") 2022-12-01 16:36:09 +01:00
erc-match-tests.el Offer to regexp-quote new items in erc-match commands 2022-09-19 17:54:46 -07:00
erc-networks-tests.el Fix some naming issues involving query buffers in ERC 2022-12-16 06:36:24 -08:00
erc-sasl-tests.el Simplify erc-sasl's auth-source API 2022-11-29 00:01:13 -05:00
erc-scenarios-auth-source.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-association-nick.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-association-query.el Fix some naming issues involving query buffers in ERC 2022-12-16 06:36:24 -08:00
erc-scenarios-base-association-samenet.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-association.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-compat-rename-bouncer.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-local-modules.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-misc-regressions.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-netid-bouncer-id.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-netid-bouncer-recon-base.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-netid-bouncer-recon-both.el Add user-oriented test scenarios for ERC 2022-06-30 15:03:26 -07:00
erc-scenarios-base-netid-bouncer-recon-id.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-netid-bouncer.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-netid-samenet.el Actually accept non-symbols as IDs in erc-open 2022-12-14 06:40:55 -08:00
erc-scenarios-base-reconnect.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-renick.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-reuse-buffers.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-unstable.el Warn of absent networks module in ERC 2022-12-28 06:51:38 -08:00
erc-scenarios-base-upstream-recon-soju.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-base-upstream-recon-znc.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-internal.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-join-auth-source.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-join-netid-newcmd-id.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-join-netid-newcmd.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-join-netid-recon-id.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-join-netid-recon.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-misc.el Set erc-network to a "given" ID instead of failing 2022-12-14 06:40:55 -08:00
erc-scenarios-sasl.el ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
erc-scenarios-services-misc.el Respect a nil erc-session-password when reconnecting 2022-12-14 06:40:55 -08:00
erc-services-tests.el Accept functions in place of passwords in ERC 2022-11-23 21:23:05 -05:00
erc-tests.el ; Fix doc string in ERC's module-activation commands 2022-12-16 06:36:23 -08:00
erc-track-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00