1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 09:00:31 -08:00
emacs/test/lisp/erc/resources/base
F. Jason Park 3a5a6fce95 Redo line splitting for outgoing messages in ERC
* lisp/erc/erc-backend.el (erc--reject-unbreakable-lines): New
variable, an escape hatch for somewhat regaining pre-5.6
line-splitting behavior.
(erc--split-line): New utility function that doesn't rely on
column-oriented filling.
* lisp/erc/erc.el (erc--pre-send-split-functions): Append
`erc--split-lines' to value.
(erc--split-lines): New function to re-split current selection of
lines.
(erc-send-input): Hard-code line preparation instead of calling
`erc--pre-send-split-functions', in order to bake in traditional
behavior before move to "pre-splitting".
* test/lisp/erc/erc-scenarios-base-split-line.el: New file.
* test/lisp/erc/erc-tests.el (erc--split-line): New test.
(erc-send-current-line): Don't expect a flood argument when
interpreting a command because it's not passed along to the command's
handler.  This was previously misleading because it assigned undue
significance to something that had no bearing on the fate of a
command.
* test/lisp/erc/resources/base/flood/ascii.eld: New file.
* test/lisp/erc/resources/base/flood/koi8-r.eld: New file.
* test/lisp/erc/resources/base/flood/utf-8.eld: New file.
* test/lisp/erc/resources/erc-d/erc-d.el: Don't decode input.
(Bug#62947)
2023-05-05 17:18:01 -07:00
..
assoc Add erc-button helper for substituting command keys 2023-04-08 14:23:51 -07:00
auth-source
channel-buffer-revival Revive option erc-query-on-unjoined-chan-privmsg 2023-05-05 17:18:01 -07:00
commands Add MOTD command to ERC 2023-04-08 14:23:50 -07:00
flood Redo line splitting for outgoing messages in ERC 2023-05-05 17:18:01 -07:00
gapless-connect
local-modules Don't send erc-sasl-user as USER command argument 2022-12-14 06:40:55 -08:00
mask-target-routing
netid ; Relax timeouts for failing ERC test 2023-01-17 06:26:34 -08:00
reconnect Add probing erc-server-reconnect-function variant 2023-04-08 14:23:50 -07:00
renick Add hook to regain nickname in ERC 2023-04-08 14:23:50 -07:00
reuse-buffers
upstream-reconnect