1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-10 08:52:40 -07:00
emacs/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
..
ChangeLog.1
ChangeLog.2
erc-autoaway.el
erc-backend.el Populate erc--msg-prop-overrides for CTCP replies 2023-12-23 06:34:38 -08:00
erc-button.el Fix overlapping logs from erc-truncate-buffer-on-save 2023-12-23 06:46:33 -08:00
erc-capab.el
erc-common.el Rename erc-channel-users to erc-channel-members 2023-12-17 20:17:55 -08:00
erc-compat.el Optionally allow substitution patterns in erc-prompt 2023-11-24 13:38:52 -08:00
erc-dcc.el Use templates for formatting chat messages in ERC 2023-12-17 20:17:55 -08:00
erc-desktop-notifications.el
erc-ezbounce.el
erc-fill.el Demote erc-fill-line-spacing to a normal variable 2023-12-17 20:17:55 -08:00
erc-goodies.el Improve multi-window erc-keep-place-indicator-mode 2023-12-27 21:32:25 -08:00
erc-ibuffer.el Fix wrong "User" column count in erc-ibuffer 2023-10-02 17:23:29 -07:00
erc-identd.el
erc-imenu.el
erc-join.el
erc-lang.el
erc-list.el
erc-log.el Fix overlapping logs from erc-truncate-buffer-on-save 2023-12-23 06:46:33 -08:00
erc-match.el Revive erc-command-indicator as new module 2023-11-12 20:37:49 -08:00
erc-menu.el
erc-netsplit.el Define ERC message-formatting templates with defvar 2023-12-17 20:17:54 -08:00
erc-networks.el ; Fix some doc strings in ERC 2023-12-23 06:34:38 -08:00
erc-nicks.el Add erc-track integration to erc-nicks 2023-12-17 20:17:55 -08:00
erc-notify.el Define ERC message-formatting templates with defvar 2023-12-17 20:17:54 -08:00
erc-page.el Define ERC message-formatting templates with defvar 2023-12-17 20:17:54 -08:00
erc-pcomplete.el
erc-replace.el
erc-ring.el
erc-sasl.el Replace some uses of erc-error 2023-12-23 06:46:33 -08:00
erc-services.el Merge from origin/emacs-29 2023-12-09 07:25:21 -05:00
erc-sound.el Define ERC message-formatting templates with defvar 2023-12-17 20:17:54 -08:00
erc-speedbar.el Replace some uses of erc-error 2023-12-23 06:46:33 -08:00
erc-spelling.el
erc-stamp.el Fix overlapping logs from erc-truncate-buffer-on-save 2023-12-23 06:46:33 -08:00
erc-status-sidebar.el Replace some uses of erc-error 2023-12-23 06:46:33 -08:00
erc-track.el Cache shortened channel names in erc-track 2023-12-17 20:17:55 -08:00
erc-truncate.el Manage some text props for ERC insertion-hook members 2023-10-13 07:47:01 -07:00
erc-xdcc.el
erc.el Optionally continue on error in erc-auth-source-search 2023-12-23 06:46:33 -08:00