1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-31 01:32:00 -07:00
emacs/test/lisp/erc/resources/join
F. Jason Park ba2a150740 Restore erc-last-saved-position from previous session
* lisp/erc/erc-log.el (erc-log-setup-logging): Restore
`erc-last-saved-position' from previous session.  By default, a
non-/QUIT disconnect does not write out any remaining buffer text to
logs, instead leaving it until the buffer or Emacs is killed.  But if a
successful reconnect occurs beforehand, the uncommitted portion must be
seen to somehow.  Before this change, it would be lost because the
function `erc-initialize-log-marker' remakes the marker at the prompt
instead of recovering the previous value as now done here.  Moreover,
the traditional workaround of customizing `erc-log-write-after-insert'
and `erc-log-write-after-send' to t should not be required to prevent
gaps in any decent IRC client.
* test/lisp/erc/erc-scenarios-log.el (erc-scenarios-log--reconnect): New
function.
(erc-scenarios-log--reconnect/auto, erc-scenarios-log--reconnect/manual):
New tests.
;; * test/lisp/erc/resources/join/reconnect/foonet-again.eld: Add QUIT.
2026-04-30 15:46:38 -07:00
..
auth-source Add format-catalog entry for unknown chan mode in ERC 2024-05-08 17:11:26 -07:00
buffer-display ; Tweak failing autojoin display-context test for ERC 2025-12-17 17:36:42 -08:00
legacy ; Allow alternate ert-info text in ERC test utility 2023-09-10 17:58:20 -07:00
network-id Don't recurse in erc-server-delayed-check-reconnect 2024-06-05 11:58:44 -07:00
reconnect Restore erc-last-saved-position from previous session 2026-04-30 15:46:38 -07:00
timing Cancel ERC autojoin timer in the server buffer 2025-07-27 19:57:28 -07:00