1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00
emacs/test/lisp/erc
F. Jason Park 9cd47017c7 Fix overlapping logs from erc-truncate-buffer-on-save
* lisp/erc/erc-button.el (erc-button--display-error-notice-with-keys):
Currently, internal "error notices" do not have timestamps.  However,
this causes alignment issues for non-`fill-wrap' users of left-sided
stamps.  The heuristic used by this change for detecting such stamps
is weak and prone to false negatives.
* lisp/erc/erc-log.el (erc-log-mode, erc-log-enable): Set explicit
depth for `erc--pre-clear-functions' to 50.
(erc-save-buffer-in-logs): Fix partial regression in which redundant
text would appear in logs that have undergone truncation via an
interactive call to this command when the deprecated option
`erc-truncate-on-save' is non-nil.
* lisp/erc/erc-stamp.el (erc-stamp-mode, erc-stamp-enable): Set
depth for `erc--pre-clear-functions' to 40.
(erc-stamp--reset-on-clear): Only add `erc-stamp--insert-date-hook'
when `erc-stamp--date-mode' is active.
* lisp/erc/erc.el (erc-cmd-CLEAR): Rework to honor but improve upon
the old behavior when called from lisp.  Do this by attempting to find
the beginning of the current message and excluding it from the
truncated portion of the buffer.  A NEWS entry describing this
behavior already exists for 5.6.
* test/lisp/erc/erc-scenarios-log.el
(erc-scenarios-log--save-buffer-in-logs/truncate-on-save): New test.
These changes originate from bug#60936.
2023-12-23 06:46:33 -08:00
..
resources Replace some uses of erc-error 2023-12-23 06:46:33 -08:00
erc-button-tests.el Ignore erc-response objects in error-notice helper 2023-08-25 14:47:07 -07:00
erc-dcc-tests.el Fix command-line parsing regression in erc-cmd-DCC 2023-07-13 18:45:31 -07:00
erc-fill-tests.el Add erc--spkr text property to chat messages 2023-12-17 20:17:55 -08:00
erc-goodies-tests.el Decouple keep-place-indicator from global ERC module 2023-07-13 18:45:31 -07:00
erc-join-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-match-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-networks-tests.el Prefer erc-target to erc-default-target 2023-10-20 15:24:06 -07:00
erc-nicks-tests.el Add erc-track integration to erc-nicks 2023-12-17 20:17:55 -08:00
erc-sasl-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-auth-source.el ; Mark test for erc--update-channel-modes as :unstable 2023-11-25 15:59:58 -08:00
erc-scenarios-base-association-nick.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-association-query.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-association-samenet.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-association.el ; Attempt to fix race in erc-buffer-display test 2023-11-01 16:14:10 -07:00
erc-scenarios-base-attach.el ; Fix typos 2023-12-10 13:22:04 +01:00
erc-scenarios-base-auto-recon.el Add probing erc-server-reconnect-function variant 2023-04-08 14:23:50 -07:00
erc-scenarios-base-buffer-display.el ; Mark test for erc--update-channel-modes as :unstable 2023-11-25 15:59:58 -08:00
erc-scenarios-base-chan-modes.el Favor ISUPPORT params for MODE processing in ERC 2023-11-18 12:34:56 -08:00
erc-scenarios-base-compat-rename-bouncer.el ; Fix filename mismatches in prop lines of ERC tests 2023-01-24 20:15:18 -08:00
erc-scenarios-base-local-module-modes.el Refactor marker initialization in erc-open 2023-04-08 14:23:51 -07:00
erc-scenarios-base-local-modules.el Refactor marker initialization in erc-open 2023-04-08 14:23:51 -07:00
erc-scenarios-base-misc-regressions.el Add test for erc-cmd-SQUERY 2023-11-18 12:34:56 -08:00
erc-scenarios-base-netid-bouncer-id.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-netid-bouncer-recon-base.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-netid-bouncer-recon-both.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-netid-bouncer-recon-id.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-netid-bouncer.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-netid-samenet.el ; Fix filename mismatches in prop lines of ERC tests 2023-01-24 20:15:18 -08:00
erc-scenarios-base-reconnect.el Sequester some special-variable declarations in ERC 2023-12-17 20:17:54 -08:00
erc-scenarios-base-renick.el Sequester some special-variable declarations in ERC 2023-12-17 20:17:54 -08:00
erc-scenarios-base-reuse-buffers.el Prefer erc-target to erc-default-target 2023-10-20 15:24:06 -07:00
erc-scenarios-base-send-message.el Revive erc-command-indicator as new module 2023-11-12 20:37:49 -08:00
erc-scenarios-base-split-line.el Redo line splitting for outgoing messages in ERC 2023-05-05 17:18:01 -07:00
erc-scenarios-base-statusmsg.el Use templates for formatting chat messages in ERC 2023-12-17 20:17:55 -08:00
erc-scenarios-base-unstable.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-base-upstream-recon-soju.el ; Fix filename mismatches in prop lines of ERC tests 2023-01-24 20:15:18 -08:00
erc-scenarios-base-upstream-recon-znc.el ; Fix filename mismatches in prop lines of ERC tests 2023-01-24 20:15:18 -08:00
erc-scenarios-display-message.el Double hyphenate internal ERC 5.6 text props 2023-12-17 20:17:54 -08:00
erc-scenarios-internal.el ; Prevent ERC-induced false positive in JUnit report 2023-02-15 08:34:04 -08:00
erc-scenarios-join-auth-source.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-join-display-context.el Allow custom display-buffer actions in ERC 2023-07-13 18:45:31 -07:00
erc-scenarios-join-netid-newcmd-id.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-join-netid-newcmd.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-join-netid-recon-id.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-join-netid-recon.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-scenarios-log.el Fix overlapping logs from erc-truncate-buffer-on-save 2023-12-23 06:46:33 -08:00
erc-scenarios-match.el Double hyphenate internal ERC 5.6 text props 2023-12-17 20:17:54 -08:00
erc-scenarios-misc-commands.el Add erc-server-396 response handler 2023-12-17 20:17:54 -08:00
erc-scenarios-misc.el ; Mark test for erc--update-channel-modes as :unstable 2023-11-25 15:59:58 -08:00
erc-scenarios-prompt-format.el Optionally allow substitution patterns in erc-prompt 2023-11-24 13:38:52 -08:00
erc-scenarios-sasl.el Replace some uses of erc-error 2023-12-23 06:46:33 -08:00
erc-scenarios-scrolltobottom-relaxed.el Skip post-minibuffer restore in erc-scrolltobottom-all 2023-10-13 07:47:00 -07:00
erc-scenarios-scrolltobottom.el ; Increase ERC test server queue size 2023-10-02 17:26:27 -07:00
erc-scenarios-services-misc.el Redo erc-nickname-in-use-functions as a local module 2023-07-01 07:21:30 -07:00
erc-scenarios-stamp.el Use templates for formatting chat messages in ERC 2023-12-17 20:17:55 -08:00
erc-scenarios-status-sidebar.el Replace some uses of erc-error 2023-12-23 06:46:33 -08:00
erc-services-tests.el Make auth-source erc-services tests more readable 2023-04-08 14:23:51 -07:00
erc-stamp-tests.el Double hyphenate internal ERC 5.6 text props 2023-12-17 20:17:54 -08:00
erc-tests.el ; Fix some doc strings in ERC 2023-12-23 06:34:38 -08:00
erc-track-tests.el Cache shortened channel names in erc-track 2023-12-17 20:17:55 -08:00