mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
;; * etc/ERC-NEWS: Revise wording from recent mechanical change. * lisp/erc/erc-match.el (erc-match--opt-pat-cache, erc-pals, erc-fools): Update doc. (erc-dangerous-host-highlight-type): Remove nonsensical `nick-or-mention' value introduced for ERC 5.7 and Emacs 32 via bug#73798. It doesn't make sense to highlight mentions of a dangerous host, only its associated nicknames, which ERC has no knowledge of. (erc-match--opt-pat-get): Apply `sxhash-equal' to input in order to protect keys from retroactive mutation. Otherwise, a user applying `setcar' to a cached `erc-fools' value could corrupt the cache. (erc-match-mention-beg-rx-sexp, erc-match-mention-any-rx-sexp): New variables to expose how ERC looks for "addressees" in a message body. (erc-match--opt-pat-make-addr-beg): Defer to `erc-match-mention-beg-rx-sexp' variable for regexp. (erc-match--opt-pat-make-addr-end, erc-match--opt-pat-make-addr-any): Rename former to latter and use `erc-match-mention-any-rx-sexp' for regexp. (erc-match--user-nuh-or-mention-p): Use updated function name. (erc-match-highlight-by-part): Use `match-data' to detect the "last thing searched" by the predicate. * test/lisp/erc/erc-match-tests.el (erc-match-message/fool/nick-or-mention): Remove test associated with nonexistent value `nick-or-mention' for option `erc-dangerous-host-highlight-type'. (erc-match--opt-pat-cache): Use updated function name, sort character alternatives in bracket expression, update format of expected output to include hashes. ;; (erc-match-tests--hl-type-nick) ;; (erc-match-message/fool/nick) ;; (erc-match-message/dangerous-host/nick/legacy) ;; (erc-match-tests--hl-type-message) ;; (erc-match-message/dangerous-host/message) ;; (erc-match-message/dangerous-host/message/legacy) ;; (erc-match-tests--hl-type-all) ;; (erc-match-message/fool/all) ;; (erc-match-message/dangerous-host/all/legacy) ;; (erc-match-tests--hl-type-nick-or-keyword) ;; (erc-match-tests--hl-type-keyword): Use realistic value for ;; option `erc-dangerous-hosts'. |
||
|---|---|---|
| .. | ||
| resources | ||
| erc-button-tests.el | ||
| erc-dcc-tests.el | ||
| erc-desktop-notifications-tests.el | ||
| erc-fill-tests.el | ||
| erc-goodies-tests.el | ||
| erc-join-tests.el | ||
| erc-match-tests.el | ||
| erc-networks-tests.el | ||
| erc-nicks-tests.el | ||
| erc-notify-tests.el | ||
| erc-sasl-tests.el | ||
| erc-scenarios-auth-source.el | ||
| erc-scenarios-base-association-nick.el | ||
| erc-scenarios-base-association-query.el | ||
| erc-scenarios-base-association-samenet.el | ||
| erc-scenarios-base-association.el | ||
| erc-scenarios-base-attach.el | ||
| erc-scenarios-base-auto-recon.el | ||
| erc-scenarios-base-buffer-display.el | ||
| erc-scenarios-base-chan-modes.el | ||
| erc-scenarios-base-compat-rename-bouncer.el | ||
| erc-scenarios-base-kill-on-part.el | ||
| erc-scenarios-base-local-module-modes.el | ||
| erc-scenarios-base-local-modules.el | ||
| erc-scenarios-base-misc-regressions.el | ||
| 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-query-participants.el | ||
| erc-scenarios-base-reconnect.el | ||
| erc-scenarios-base-renick.el | ||
| erc-scenarios-base-reuse-buffers.el | ||
| erc-scenarios-base-send-message.el | ||
| erc-scenarios-base-split-line.el | ||
| erc-scenarios-base-statusmsg.el | ||
| erc-scenarios-base-unstable.el | ||
| erc-scenarios-base-upstream-recon-soju.el | ||
| erc-scenarios-base-upstream-recon-znc.el | ||
| erc-scenarios-display-message.el | ||
| erc-scenarios-fill-wrap.el | ||
| erc-scenarios-ignore.el | ||
| erc-scenarios-internal.el | ||
| erc-scenarios-join-auth-source.el | ||
| erc-scenarios-join-display-context.el | ||
| 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-join-timing.el | ||
| erc-scenarios-keep-place-indicator-trunc.el | ||
| erc-scenarios-keep-place-indicator.el | ||
| erc-scenarios-log-options.el | ||
| erc-scenarios-log.el | ||
| erc-scenarios-match-api.el | ||
| erc-scenarios-match.el | ||
| erc-scenarios-misc-commands.el | ||
| erc-scenarios-misc.el | ||
| erc-scenarios-nicks-track.el | ||
| erc-scenarios-prompt-format.el | ||
| erc-scenarios-sasl.el | ||
| erc-scenarios-scrolltobottom-relaxed.el | ||
| erc-scenarios-scrolltobottom.el | ||
| erc-scenarios-services-misc.el | ||
| erc-scenarios-settings.el | ||
| erc-scenarios-spelling.el | ||
| erc-scenarios-stamp.el | ||
| erc-scenarios-status-sidebar.el | ||
| erc-services-tests.el | ||
| erc-settings-tests.el | ||
| erc-stamp-tests.el | ||
| erc-tests.el | ||
| erc-track-tests.el | ||