diff options
author | F. Jason Park <jp@neverwas.me> | 2024-08-06 19:13:51 -0700 |
---|---|---|
committer | F. Jason Park <jp@neverwas.me> | 2024-09-29 16:13:01 -0700 |
commit | b0ebb82076315f8e50159aff6caded4c5ee4438c (patch) | |
tree | 65f939e15944736bd95d5fae6cbc870b8167b8e2 /lisp/emacs-lisp | |
parent | 8f326e0ba23f88ee5ef25fb89f6c7cedbdbda89e (diff) | |
download | emacs-b0ebb82076315f8e50159aff6caded4c5ee4438c.tar.gz emacs-b0ebb82076315f8e50159aff6caded4c5ee4438c.tar.bz2 emacs-b0ebb82076315f8e50159aff6caded4c5ee4438c.zip |
Store one string per user in erc--spkr msg prop
* lisp/erc/erc.el (erc--msg-props): Mention that the `erc--spkr'
msg-prop value is taken from the `nickname' slot of the user's
`erc-server-users' entry.
(erc--speakerize-nick): Avoid using the provided NICK parameter for
the `erc--spkr' property. Instead, use the version from the
`nickname' slot of its `erc-server-users' item, which is itself an
`erc-server-user' object. These text props were originally introduced
in ERC 5.6 as part of bug#67677.
* test/lisp/erc/erc-tests.el (erc--refresh-prompt)
(erc--check-prompt-input-functions, erc-send-current-line)
(erc--check-prompt-input-for-multiline-blanks)
(erc-send-whitespace-lines): Use more convenient helper utility to
create fake server buffer where possible.
(erc--speakerize-nick): New test.
* test/lisp/erc/resources/erc-tests-common.el
(erc-tests-common-make-server-buf): Don't use ERT temp buffer's name
for dialed server, etc., because it contains unwanted chars.
(erc-tests-common-with-process-input-spy): Defer to each test to set
up its own prompt, etc. (Bug#72736)
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions