1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-03 03:32:44 -07:00
emacs/test/lisp/erc
F. Jason Park 7b4ca9e609 Leverage inverse-video for erc-inverse-face
* lisp/erc/erc-goodies.el (erc-inverse-face): Specify face attribute
`:inverse-video' (née :reverse-video) to swap foreground and
background colors over affected intervals, as per
https://modern.ircdocs.horse/formatting#reverse-color.
(erc-control-default-fg erc-control-default-bg): New faces for IRC
color-code number 99.  Ignore the ERC convention of prefixing
control-code-derived faces with "fg:" and "bg:" because it doesn't
comport with modern sensibilities, which demand identifiers normally
be namespaced.
(erc-get-bg-color-face, erc-get-fg-color-face): Return new, dedicated
faces instead of `default', and don't nest them in a list.
* test/lisp/erc/erc-goodies-tests.el
(erc-controls-highlight--inverse): Redo completely, asserting behavior
described in the spec linked to above.
(erc-controls-highlight--spoilers): New test based on the body of the
old `erc-controls-highlight--inverse', except without shadowing
`erc-insert-modify-hook' with an unrealistic, idealized value.  Adjust
expected buffer state to reflect the new role of
`erc-spoiler-face'.  (Bug#69597)
2024-03-10 06:11:22 -07:00
..
resources Make erc-cmd-AMSG session local; add /GMSG, /AME and /GME 2024-02-23 18:45:44 -08:00
erc-button-tests.el ; Load erc-compat before ert-x in ERC tests 2024-02-16 19:58:35 -08:00
erc-dcc-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-fill-tests.el Make erc-fill-wrap depend on scrolltobottom 2024-02-16 19:58:35 -08:00
erc-goodies-tests.el Leverage inverse-video for erc-inverse-face 2024-03-10 06:11:22 -07:00
erc-join-tests.el
erc-match-tests.el
erc-networks-tests.el ; Load erc-compat before ert-x in ERC tests 2024-02-16 19:58:35 -08:00
erc-nicks-tests.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-sasl-tests.el
erc-scenarios-auth-source.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-base-association-nick.el
erc-scenarios-base-association-query.el
erc-scenarios-base-association-samenet.el
erc-scenarios-base-association.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-base-attach.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-base-auto-recon.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-base-buffer-display.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-base-chan-modes.el Actually derive channel membership from PREFIX in ERC 2024-01-24 20:58:32 -08:00
erc-scenarios-base-compat-rename-bouncer.el
erc-scenarios-base-local-module-modes.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-base-local-modules.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-base-misc-regressions.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-base-netid-bouncer-id.el
erc-scenarios-base-netid-bouncer-recon-base.el
erc-scenarios-base-netid-bouncer-recon-both.el
erc-scenarios-base-netid-bouncer-recon-id.el
erc-scenarios-base-netid-bouncer.el
erc-scenarios-base-netid-samenet.el
erc-scenarios-base-reconnect.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-base-renick.el ; Load erc-compat before ert-x in ERC tests 2024-02-16 19:58:35 -08:00
erc-scenarios-base-reuse-buffers.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-base-send-message.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-base-split-line.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-base-statusmsg.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-base-unstable.el
erc-scenarios-base-upstream-recon-soju.el
erc-scenarios-base-upstream-recon-znc.el Reassociate erc-networks--id for orphaned queries 2024-02-02 17:08:21 -08:00
erc-scenarios-display-message.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-internal.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-join-auth-source.el
erc-scenarios-join-display-context.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-join-netid-newcmd-id.el
erc-scenarios-join-netid-newcmd.el
erc-scenarios-join-netid-recon-id.el
erc-scenarios-join-netid-recon.el
erc-scenarios-keep-place-indicator.el ; Fix typos 2024-01-28 17:11:51 +01:00
erc-scenarios-log.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-match.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-misc-commands.el Make erc-cmd-AMSG session local; add /GMSG, /AME and /GME 2024-02-23 18:45:44 -08:00
erc-scenarios-misc.el Reassociate erc-networks--id for orphaned queries 2024-02-02 17:08:21 -08:00
erc-scenarios-prompt-format.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-sasl.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-scrolltobottom-relaxed.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-scrolltobottom.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-services-misc.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-stamp.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-status-sidebar.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-services-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-stamp-tests.el ; Load erc-compat before ert-x in ERC tests 2024-02-16 19:58:35 -08:00
erc-tests.el Use modern fallback for channel name detection in ERC 2024-02-16 19:59:38 -08:00
erc-track-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00