1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00
emacs/lisp/erc
F. Jason Park 44cdb65cf3 Fix regression involving erc-channel-user accessors
* etc/ERC-NEWS: New section for ERC 5.6.2 and new entry mentioning
slight change in `erc-channel-user' accessor behavior.
* lisp/erc/erc-common.el (erc-channel-user): Change type for status slot
to natnum from integer.
* lisp/erc/erc.el (erc-channel-user-signal-if-status-unknown): New
variable.
(erc--define-channel-user-status-compat-getter): Only use fallback in
Non-ERC buffers because "obviously" a status flag is unusable if the
server doesn't advertise it or, rather, advertises nonsupport via its
absence.  This regression was introduced in ERC 5.6.
(erc-channel-begin-receiving-names): Sharp-quote function name.
(erc--get-prefix-flag): Mention in doc that a return value of nil can
also mean the status flag is not supported by the server.
* test/lisp/erc/erc-tests.el (erc--parsed-prefix): Show that it returns
nil in a non-ERC buffer.
(erc-tests--make-combinations)
(erc-tests--with-channel-user-status-accessors): New functions.
(erc-channel-user/status-accessors/solo/default)
(erc-channel-user/status-accessors/solo/ov)
(erc-channel-user/status-accessors/multi/default)
(erc-channel-user/status-accessors/multi/ov): New tests.
(Bug#67220)
2025-10-27 19:29:44 -07:00
..
ChangeLog.1
ChangeLog.2
erc-autoaway.el
erc-backend.el Don't round-trip auto-reconnect probe in ERC 2025-04-16 17:30:13 -07:00
erc-button.el Fix capitalization ELisp -> Elisp 2025-03-12 09:38:33 +08:00
erc-capab.el
erc-common.el Fix regression involving erc-channel-user accessors 2025-10-27 19:29:44 -07:00
erc-compat.el Add erc-compat adapter for xml-escape-string 2025-03-11 18:28:38 -07:00
erc-dcc.el
erc-desktop-notifications.el Add erc-compat adapter for xml-escape-string 2025-03-11 18:28:38 -07:00
erc-ezbounce.el
erc-fill.el Don't touch window configuration in erc-fill prompt hook 2025-09-04 17:10:32 -07:00
erc-goodies.el Make function erc-scrolltobottom-mode idempotent 2025-09-04 17:12:25 -07:00
erc-ibuffer.el
erc-identd.el
erc-imenu.el
erc-join.el Cancel ERC autojoin timer in the server buffer 2025-07-27 19:57:28 -07:00
erc-lang.el
erc-list.el
erc-log.el Suppress log module when inserting date stamps in ERC 2025-03-11 18:28:38 -07:00
erc-match.el
erc-menu.el
erc-netsplit.el
erc-networks.el
erc-nicks.el
erc-notify.el Use function-valued variable for ERC query predicate 2025-07-27 19:57:28 -07:00
erc-page.el
erc-pcomplete.el
erc-replace.el
erc-ring.el
erc-sasl.el
erc-services.el ; Improve some doc strings in erc-services 2025-07-27 19:57:28 -07:00
erc-sound.el
erc-speedbar.el Use function-valued variable for ERC query predicate 2025-07-27 19:57:28 -07:00
erc-spelling.el
erc-stamp.el Suppress log module when inserting date stamps in ERC 2025-03-11 18:28:38 -07:00
erc-status-sidebar.el Don't set bufbar cursor-type in erc-mode buffers 2025-08-24 15:15:02 -07:00
erc-track.el
erc-truncate.el
erc-xdcc.el
erc.el Fix regression involving erc-channel-user accessors 2025-10-27 19:29:44 -07:00