emacs/lisp/erc
F. Jason Park c0cb59578b Don't round-trip auto-reconnect probe in ERC
* lisp/erc/erc-backend.el (erc-server--reconnect-opened)
(erc--server-reconnect-opened): Rename former to latter.  Restore
original buffer-local value of session connector for Emacs 29 and below.
(erc--server-reconnect-timeout-check)
(erc--server-reconnect-timeout-scale-function): Change from buffer-local
to normal variables, which they should have been originally.
(erc--recon-probe-reschedule): Ensure `erc-server-reconnect-timeout' is
always non-nil to avoid seeing format specifier in admin message.  Use
current buffer when `proc' argument is nil.  Perform cleanup when `proc'
and `erc-server-process' differ.
(erc-server-delayed-check-reconnect-reuse-process-p): New variable.
(erc--recon-probe-sentinel): Run `erc--server-reconnect-opened'
immediately because sending a speculative PING doesn't work on all
servers and proxies, most crucially on ZNC, which replies with an error
only after an extended timeout.
(erc--recon-probe-filter): Remove unused function.
(erc--recon-probe-check) Rework to not use fixed periodic timer, change
second parameter to a Lisp time object.
(erc-server-delayed-check-reconnect): Use realistic name when reusing
process so that the session's process isn't "*erc-connectivity-check*".
Set filter to `ignore'.  Always run `erc--recon-probe-sentinel' when
status is `open' or something other than `connect', but don't bother
spawning a `erc--recon-probe-check' task as well because any problems
creating the process should already be known.  Handle quits during
connect functions that perform blocking I/O, such as
`socks-open-network-stream'.
(erc-schedule-reconnect): Don't bother setting filter to nil.
* test/lisp/erc/erc-scenarios-base-auto-recon.el
(erc-scenarios-base-auto-recon-unavailable)
(erc-scenarios-base-auto-recon-check/no-reuse): Rename former to latter.
(erc-scenarios-base-auto-recon-no-proto)
(erc-scenarios-base-auto-recon-check/reuse): Rename former to latter and
rewrite not to expect a PING.
* test/lisp/erc/resources/erc-d/erc-d.el (erc-d--forget-process): New
function.
(erc-d--process-sentinel): Stop serving when all dialogs have been
exhausted.  (Bug#62044)
2025-04-16 17:30:13 -07:00
..
ChangeLog.1 Update copyright year to 2025 2025-01-01 07:39:17 +00:00
ChangeLog.2 Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-autoaway.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-backend.el Don't round-trip auto-reconnect probe in ERC 2025-04-16 17:30:13 -07:00
erc-button.el Fix capitalization ELisp -> Elisp 2025-03-12 09:38:33 +08:00
erc-capab.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-common.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-compat.el Add erc-compat adapter for xml-escape-string 2025-03-11 18:28:38 -07:00
erc-dcc.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-desktop-notifications.el Add erc-compat adapter for xml-escape-string 2025-03-11 18:28:38 -07:00
erc-ezbounce.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-fill.el ; Don't quote localp argument to define-erc-module 2025-01-22 16:07:55 -08:00
erc-goodies.el More clearly define local module behavior in ERC 2025-02-07 20:21:36 -08:00
erc-ibuffer.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-identd.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-imenu.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-join.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-lang.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-list.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-log.el Suppress log module when inserting date stamps in ERC 2025-03-11 18:28:38 -07:00
erc-match.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-menu.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-netsplit.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-networks.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-nicks.el More clearly define local module behavior in ERC 2025-02-07 20:21:36 -08:00
erc-notify.el More clearly define local module behavior in ERC 2025-02-07 20:21:36 -08:00
erc-page.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-pcomplete.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-replace.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-ring.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-sasl.el More clearly define local module behavior in ERC 2025-02-07 20:21:36 -08:00
erc-services.el More clearly define local module behavior in ERC 2025-02-07 20:21:36 -08:00
erc-sound.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-speedbar.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-spelling.el Improve use of Flyspell's API in erc-spelling 2025-01-07 17:31:18 -08:00
erc-stamp.el Suppress log module when inserting date stamps in ERC 2025-03-11 18:28:38 -07:00
erc-status-sidebar.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-track.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-truncate.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc-xdcc.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
erc.el Use .pem extension for client certs in ERC docs 2025-02-21 18:40:06 -08:00