emacs/test/lisp/erc/resources/base
F. Jason Park 75aefe6514 Reuse old query buffers for reassumed nicks in ERC
* lisp/erc/erc-backend.el
(erc--wrangle-query-buffers-on-nick-change): New function for handling
buffer renaming and message routing triggered by a nick change.  Such
twiddling used to reside in `erc-server-NICK' but has been separated
out for use by built-in modules overriding `erc-server-NICK'.  The
behavior has also changed to favor always reusing an existing query
buffer whenever possible instead of creating a new, <N>-suffixed
buffer.  This addresses some arguably unfinished business from
bug#48598.
(erc-server-NICK): Fix erroneous call to `erc-update-user-nick' that
passed the sender's login as the function's INFO argument.  Move
buffer renaming logic to `erc--wrangle-query-buffers-on-nick-change'
for use by "NICK" handlers managed by modules.  Also, print the notice
in all query buffers when the client changes its own nick.
(erc-server-QUIT): Show messages in all query buffers when the client
itself quits, but prevent `track' from updating the mode line with
redundant noise.
* lisp/erc/erc.el (erc-generate-new-buffer-name): Fix typo in doc.
(erc--query-list): New function.
* test/lisp/erc/erc-scenarios-base-query-participants.el: New file.
* test/lisp/erc/erc-scenarios-base-renick.el
(erc-scenarios-base-renick-queries-solo): Revise slightly to use
modern helper API.
(erc-scenarios-base-renick-queries/reassume): New test.
(erc-scenarios-base-renick-self/merge-query): New test.
* test/lisp/erc/resources/base/query-participants/legacy.eld: New file.
* test/lisp/erc/resources/base/reconnect/options-again.eld: Adjust
timeout.
* test/lisp/erc/resources/base/renick/queries/reassume.eld: New file.
* test/lisp/erc/resources/base/renick/self/manual.eld: Update timeouts.
* test/lisp/erc/resources/base/renick/self/merge-query-a.eld: New file.
* test/lisp/erc/resources/base/renick/self/merge-query-b.eld: New file.
(Bug#70928)
2024-05-27 16:39:18 -07:00
..
assoc Add format-catalog entry for unknown chan mode in ERC 2024-05-08 17:11:26 -07:00
auth-source Add format-catalog entry for unknown chan mode in ERC 2024-05-08 17:11:26 -07:00
channel-buffer-revival Revive option erc-query-on-unjoined-chan-privmsg 2023-05-05 17:18:01 -07:00
display-message Use templates for formatting chat messages in ERC 2023-12-17 20:17:55 -08:00
flood ; Allow alternate ert-info text in ERC test utility 2023-09-10 17:58:20 -07:00
gapless-connect Add preset styles to erc-status-sidebar 2023-07-13 18:45:31 -07:00
local-modules Allow selecting graphical ERC tests manually 2023-12-27 21:32:25 -08:00
mask-target-routing
modes Actually derive channel membership from PREFIX in ERC 2024-01-24 20:58:32 -08:00
netid Allow spoofing process marker in erc-display-line-1 2023-10-13 07:47:00 -07:00
query-participants Reuse old query buffers for reassumed nicks in ERC 2024-05-27 16:39:18 -07:00
reconnect Reuse old query buffers for reassumed nicks in ERC 2024-05-27 16:39:18 -07:00
renick Reuse old query buffers for reassumed nicks in ERC 2024-05-27 16:39:18 -07:00
reuse-buffers Add format-catalog entry for unknown chan mode in ERC 2024-05-08 17:11:26 -07:00
send-message Make nested input handling more robust in ERC 2023-11-12 20:37:48 -08:00
upstream-reconnect Reassociate erc-networks--id for orphaned queries 2024-02-02 17:08:21 -08:00