]> git.eshelyaron.com Git - emacs.git/commit
Support auth-source-pass in ERC
authorF. Jason Park <jp@neverwas.me>
Sun, 24 Apr 2022 13:20:09 +0000 (06:20 -0700)
committerF. Jason Park <jp@neverwas.me>
Thu, 17 Nov 2022 05:34:36 +0000 (21:34 -0800)
commitc5d91358b594e057e37ea557923e6aa9d85b61e1
treedc86a0b116b4cd937c6c60f32cae9169c873d0af
parent2cf9e699ef0fc43a4eadaf00a1ed2f876765c64d
Support auth-source-pass in ERC

* doc/misc/erc.texi: Mention that the auth-source-pass backend is
supported.
* lisp/erc/erc-compat.el (erc-compat--29-auth-source-pass-search,
erc-compat--29-auth-source-pass--build-result-many,
erc-compat--29-auth-source-pass--retrieve-parsed,
erc-compat--29-auth-source-pass-backend-parse,
erc-compat--auth-source-backend-parser-functions): Adapt some yet
unreleased functions from auth-source-pass that mimic the netrc
backend, and add forward declarations to support them.

* lisp/erc/erc.el (erc--auth-source-search): Use own auth-source-pass
erc-compat backend.
* test/lisp/erc/erc-services-tests.el
(erc-join-tests--auth-source-pass-entries): Remove useless items.
(erc--auth-source-search--pass-standard,
erc--auth-source-search--pass-announced,
erc--auth-source-search--pass-overrides): Remove `ert-skip' guard.
(Bug#58985.)
doc/misc/erc.texi
lisp/erc/erc-compat.el
lisp/erc/erc.el
test/lisp/erc/erc-services-tests.el