1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-08 23:40:24 -08:00
emacs/test/lisp/erc
F. Jason Park 1d2aa130ca Revive erc-command-indicator as new module
* doc/misc/erc.texi: Add entry for `command-indicator' to Modules
chapter.
* etc/ERC-NEWS: Mention new module `command-indicator'.
* lisp/erc/erc-goodies.el (erc-noncommands-list): Replace the
nonexistent `erc-cmd-SMV' with function `erc-cmd-SAY'.
(erc-noncommands-mode, erc-noncommands-enable,
erc-noncommands-disable): Deprecate this module because it's a no-op.
(erc-command-indicator-face, erc-command-indicator): Migrate from main
library.
(erc-command-indicator-mode, erc-command-indicator-enable,
erc-command-indicator-disable): New module to take the spiritual place
of `noncommands'.
(erc-command-indicator): Move function here from main library, along
with option namesake mentioned above.
(erc-command-indicator-toggle-hidden): New command to toggle echoed
command-line visibility.
(erc--command-indicator-permit-insertion): New function.
(erc--command-indicator-display): New function, a slightly revised
version of the old `erc-display-command' from the main library.  Its
only call site was removed back in d1036d288d "backport: erc
bugfixes".  However, references were left behind to associated assets,
like `erc-command-indicator', etc.  The function was later commented
out in 0c599ee2e2 "* lisp/erc/erc.el: Use `run-hook-with-args` for
`erc-pre-send-functions`", and then removed by a63ed6f78a "Remove
duplicate ERC prompt on reconnect".
* lisp/erc/erc-match.el (erc-match-toggle-hidden-fools): Use new
non-module-specific name for `erc-match--toggle-hidden'.
(erc-match--toggle-hidden): Move to main library for shared use by
other modules.
* lisp/erc/erc.el (erc-hide-prompt): Leave note explaining updated
role.
(erc-command-indicator): Move option and function of same name to
erc-goodies.
(erc-command-indicator-face): Move to erc-goodies.
(erc-modules): Remove module `noncommands' from standard value and
Custom set.  Add `command-indicator' to set.
(erc--toggle-hidden): "New" function, a rebranded version of the
utility `erc-match--toggle-hidden' from erc-match.
(erc--send-input-lines): Accommodate modules wanting alternate
insertion functions.
(erc-load-irc-script-lines): Account for `erc-command-indicator' no
longer being defined in this library.
* test/lisp/erc/erc-scenarios-base-send-message.el
(erc-scenarios-base-send-message--command-indicator): New test.
* test/lisp/erc/erc-tests.el (erc-tests--modules): Remove
deprecated module `noncommands' from manifest.  (Bug#67031)
2023-11-12 20:37:49 -08:00
..
resources Make nested input handling more robust in ERC 2023-11-12 20:37:48 -08:00
erc-button-tests.el Ignore erc-response objects in error-notice helper 2023-08-25 14:47:07 -07:00
erc-dcc-tests.el Fix command-line parsing regression in erc-cmd-DCC 2023-07-13 18:45:31 -07:00
erc-fill-tests.el Align date stamps to whole days in ERC 2023-11-04 15:41:55 -07:00
erc-goodies-tests.el Decouple keep-place-indicator from global ERC module 2023-07-13 18:45:31 -07:00
erc-join-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-match-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-networks-tests.el Prefer erc-target to erc-default-target 2023-10-20 15:24:06 -07:00
erc-nicks-tests.el Offer alternate pool-creation strategies in erc-nicks 2023-11-12 20:37:48 -08:00
erc-sasl-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-auth-source.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-association-nick.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-association-query.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-association-samenet.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-association.el ; Attempt to fix race in erc-buffer-display test 2023-11-01 16:14:10 -07:00
erc-scenarios-base-attach.el Revive option erc-query-on-unjoined-chan-privmsg 2023-05-05 17:18:01 -07:00
erc-scenarios-base-auto-recon.el Add probing erc-server-reconnect-function variant 2023-04-08 14:23:50 -07:00
erc-scenarios-base-buffer-display.el ; Attempt to fix race in erc-buffer-display test 2023-11-01 16:14:10 -07:00
erc-scenarios-base-compat-rename-bouncer.el ; Fix filename mismatches in prop lines of ERC tests 2023-01-24 20:15:18 -08:00
erc-scenarios-base-local-module-modes.el Refactor marker initialization in erc-open 2023-04-08 14:23:51 -07:00
erc-scenarios-base-local-modules.el Refactor marker initialization in erc-open 2023-04-08 14:23:51 -07:00
erc-scenarios-base-misc-regressions.el ; Attempt to fix race in erc-buffer-display test 2023-11-01 16:14:10 -07:00
erc-scenarios-base-netid-bouncer-id.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-netid-bouncer-recon-base.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-netid-bouncer-recon-both.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-netid-bouncer-recon-id.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-netid-bouncer.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-netid-samenet.el ; Fix filename mismatches in prop lines of ERC tests 2023-01-24 20:15:18 -08:00
erc-scenarios-base-reconnect.el Move ERC's buffer-display tests to separate file 2023-05-05 17:18:01 -07:00
erc-scenarios-base-renick.el ; Relax timeouts on some ERC tests 2023-08-15 16:47:20 -07:00
erc-scenarios-base-reuse-buffers.el Prefer erc-target to erc-default-target 2023-10-20 15:24:06 -07:00
erc-scenarios-base-send-message.el Revive erc-command-indicator as new module 2023-11-12 20:37:49 -08:00
erc-scenarios-base-split-line.el Redo line splitting for outgoing messages in ERC 2023-05-05 17:18:01 -07:00
erc-scenarios-base-unstable.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-upstream-recon-soju.el ; Fix filename mismatches in prop lines of ERC tests 2023-01-24 20:15:18 -08:00
erc-scenarios-base-upstream-recon-znc.el ; Fix filename mismatches in prop lines of ERC tests 2023-01-24 20:15:18 -08:00
erc-scenarios-display-message.el Restore missing metadata props in erc-display-line 2023-10-20 14:53:24 -07:00
erc-scenarios-internal.el ; Prevent ERC-induced false positive in JUnit report 2023-02-15 08:34:04 -08:00
erc-scenarios-join-auth-source.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-join-display-context.el Allow custom display-buffer actions in ERC 2023-07-13 18:45:31 -07:00
erc-scenarios-join-netid-newcmd-id.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-join-netid-newcmd.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-join-netid-recon-id.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-join-netid-recon.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-log.el ; Mark erc-log test as :unstable 2023-10-20 14:53:23 -07:00
erc-scenarios-match.el Swap hook positions of erc-fill and erc-match-message 2023-10-13 07:47:01 -07:00
erc-scenarios-misc.el Ignore killed buffers when switching in erc-track 2023-04-08 14:23:51 -07:00
erc-scenarios-sasl.el Split overlong outgoing messages in erc-sasl 2023-04-08 14:23:50 -07:00
erc-scenarios-scrolltobottom-relaxed.el Skip post-minibuffer restore in erc-scrolltobottom-all 2023-10-13 07:47:00 -07:00
erc-scenarios-scrolltobottom.el ; Increase ERC test server queue size 2023-10-02 17:26:27 -07:00
erc-scenarios-services-misc.el Redo erc-nickname-in-use-functions as a local module 2023-07-01 07:21:30 -07:00
erc-scenarios-stamp.el Preserve user markers when inserting ERC date stamps 2023-11-04 15:36:24 -07:00
erc-scenarios-status-sidebar.el Prevent unwanted recursion in erc-nickbar-disable 2023-08-25 14:47:07 -07:00
erc-services-tests.el Make auth-source erc-services tests more readable 2023-04-08 14:23:51 -07:00
erc-stamp-tests.el Manage some text props for ERC insertion-hook members 2023-10-13 07:47:01 -07:00
erc-tests.el Revive erc-command-indicator as new module 2023-11-12 20:37:49 -08:00
erc-track-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00