Function: eca-doctor
eca-doctor is an interactive and natively compiled function defined in
eca.el.
Signature
(eca-doctor)
Documentation
Print ECA diagnostic info to *eca-doctor* for bug reports.
The report contains the same data as eca-version followed by a
chat section automatically sourced from the active session's
chat buffer. See eca-chat--doctor-section.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca.el
;;;###autoload
(defun eca-doctor ()
"Print ECA diagnostic info to `*eca-doctor*' for bug reports.
The report contains the same data as `eca-version' followed by a
chat section automatically sourced from the active session's
chat buffer. See `eca-chat--doctor-section'."
(interactive)
(let* ((out-buf (get-buffer-create "*eca-doctor*"))
(client-ver (or (eca--client-version) "unknown"))
(server-ver (or (eca-process--server-version) "not found"))
(chat-section (eca-chat--doctor-section)))
(with-current-buffer out-buf
(let ((inhibit-read-only t))
(erase-buffer)
(insert "# eca-doctor\n\n")
(insert "Paste this buffer into your bug report.\n\n")
(insert "## Versions\n\n")
(insert (format "- eca-emacs: %s\n" client-ver))
(insert (format "- eca server: %s\n" server-ver))
(insert (format "- emacs: %s\n" (emacs-version)))
(insert (format "- system-type: %s\n\n" system-type))
(insert "## Chat\n\n")
(insert chat-section)
(goto-char (point-min))
(special-mode)))
(pop-to-buffer out-buf)))