]> git.eshelyaron.com Git - emacs.git/commit
More clearly define local module behavior in ERC
authorF. Jason Park <jp@neverwas.me>
Tue, 4 Feb 2025 14:11:50 +0000 (06:11 -0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Feb 2025 08:44:50 +0000 (09:44 +0100)
commita155e80687dcd95118d77b0f15afb8d357de45c4
treeddcbaa74da0681bd7316b7eeeb3b3e4a39c6113c
parent98f84ec1534a45abc0e942295057baf354b58e13
More clearly define local module behavior in ERC

* doc/misc/erc.texi (Modules): Label all local modules as being such.
Move `querypoll' to the auxiliary section.  Rework entire "Local
Modules" portion.
* lisp/erc/erc-goodies.el (erc-keep-place-indicator-mode)
(erc-command-indicator-mode): Mention what buffer types they operate in.
* lisp/erc/erc-nicks.el (erc-nicks-mode): Mention the mode is enabled in
all buffers.
* lisp/erc/erc-notify.el (erc-querypoll-mode): Mention which buffers it
operates in.
* lisp/erc/erc-sasl.el (erc-sasl-mode): Disable completely in target
buffers so its mode variable is nil.
* lisp/erc/erc-services.el (erc-services-regain-mode): Disable in target
buffers.
* lisp/erc/erc.el (erc-open): When activating local modules, skip those
that have just been enabled by a fellow module.  Do this even though
their setup code is meant to be idempotent.
* test/lisp/erc/erc-scenarios-base-local-modules.el
(erc-scenarios-base-local-modules--toggle-helpers): Revise to assert
current behavior.  (Bug#57955)

(cherry picked from commit e9408918f4e7fe00eb4e25e1e5428fb26c4ad847)
doc/misc/erc.texi
lisp/erc/erc-goodies.el
lisp/erc/erc-nicks.el
lisp/erc/erc-notify.el
lisp/erc/erc-sasl.el
lisp/erc/erc-services.el
lisp/erc/erc.el
test/lisp/erc/erc-scenarios-base-local-modules.el