1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 00:51:50 -08:00
emacs/test/lisp/erc
F. Jason Park 65735efdca Improve multi-window erc-keep-place-indicator-mode
* lisp/erc/erc-goodies.el (erc-keep-place-indicator-follow): Describe
condition causing an indicator update.
(erc--keep-place-indicator-on-window-configuration-change,
erc--keep-place-indicator-on-window-buffer-change): Rename former to
latter, add required WINDOW parameter, and don't move indicator if
buffer appears in multiple windows.  Also, don't bother checking
whether either buffer is a mini because the manual says window change
functions don't run for minibuffer replacements.
(erc--keep-place-indicator-setup): Hook on
`window-buffer-change-functions' instead of
`window-configuration-change-hook'.
(erc-keep-place-mode, erc-keep-place-disable): Remove member from
`window-buffer-change-functions' instead of
`window-configuration-change-hook'.
(erc-keep-place): Use `visible' FRAME arg of `get-buffer-window'.
Don't twiddle `window-prev-buffers' when
`erc-keep-place-indicator-mode' is non-nil.  This feature was
originally introduced by bug#59943.
* test/lisp/erc/erc-goodies-tests.el
(erc-goodies-tests--assert-kp-indicator-on,
erc-goodies-tests--assert-kp-indicator-off): Update hook name.
* test/lisp/erc/erc-scenarios-keep-place-indicator.el: New file.
* test/lisp/erc/resources/keep-place/follow.eld: New file.
2023-12-27 21:32:25 -08:00
..
resources Improve multi-window erc-keep-place-indicator-mode 2023-12-27 21:32:25 -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 Improve multi-window erc-keep-place-indicator-mode 2023-12-27 21:32:25 -08:00
erc-join-tests.el
erc-match-tests.el
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
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
erc-scenarios-base-association-query.el
erc-scenarios-base-association-samenet.el
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
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
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-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
erc-scenarios-base-upstream-recon-soju.el
erc-scenarios-base-upstream-recon-znc.el
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
erc-scenarios-join-auth-source.el
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
erc-scenarios-join-netid-newcmd.el
erc-scenarios-join-netid-recon-id.el
erc-scenarios-join-netid-recon.el
erc-scenarios-keep-place-indicator.el Improve multi-window erc-keep-place-indicator-mode 2023-12-27 21:32:25 -08: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