1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-10 00:00:39 -08: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 ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ChangeLog.2 ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-autoaway.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
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 Don't associate ERC modules with undefined groups 2023-04-08 14:23:51 -07:00
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 ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-ezbounce.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
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 ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-imenu.el Define missing groups for ERC modules 2023-06-11 20:53:48 -07:00
erc-join.el Allow custom display-buffer actions in ERC 2023-07-13 18:45:31 -07:00
erc-lang.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-list.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
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 ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
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 Leverage loaddefs for migrating ERC modules 2023-04-08 14:23:50 -07:00
erc-replace.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-ring.el Preprocess prompt input linewise in ERC 2023-05-05 17:18:01 -07:00
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 Define missing groups for ERC modules 2023-06-11 20:53:48 -07:00
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 ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc.el Optionally continue on error in erc-auth-source-search 2023-12-23 06:46:33 -08:00