1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00
emacs/test/lisp/erc/resources
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
..
base Use templates for formatting chat messages in ERC 2023-12-17 20:17:55 -08:00
commands Add erc-server-396 response handler 2023-12-17 20:17:54 -08:00
dcc/chat ; Attempt to fix race in erc-buffer-display test 2023-11-01 16:14:10 -07:00
erc-d ; Attempt to fix race in erc-buffer-display test 2023-11-01 16:14:10 -07:00
fill/snapshots Use templates for formatting chat messages in ERC 2023-12-17 20:17:55 -08:00
join Sequester some special-variable declarations in ERC 2023-12-17 20:17:54 -08:00
keep-place Improve multi-window erc-keep-place-indicator-mode 2023-12-27 21:32:25 -08:00
match/fools Manage some text props for ERC insertion-hook members 2023-10-13 07:47:01 -07:00
networks ; Fix typos 2023-01-15 02:14:19 +01:00
sasl Replace some uses of erc-error 2023-12-23 06:46:33 -08:00
scrolltobottom Consider all windows in erc-scrolltobottom-mode 2023-09-10 17:58:20 -07:00
services ; Relax timeouts on some ERC tests 2023-08-15 16:47:20 -07:00
erc-scenarios-common.el Restore prompt correctly when reconnecting in ERC 2023-11-26 14:25:27 -08:00