Skip to content

v0.3.0

Latest

Choose a tag to compare

@bbatsov bbatsov released this 20 May 07:55

New features

  • Wire-level message log for debugging: M-x port-toggle-message-log (or port-log-messages t) mirrors every outgoing form and incoming parsed message to *port-messages*, timestamped to the millisecond and labelled user / tool. Off by default.
  • Eldoc highlights the active argument and shows a short docstring preview alongside the arglist. Multi-arity arglists are parsed and the arity matching the current position picked automatically. Customisable via port-eldoc-arg-index-function and port-eldoc-arglist-formatter.

Bugs fixed

  • Fix Emacs hang when a large prepl response (e.g. the completion warm-up against a namespace with thousands of vars) arrived in many TCP chunks. The process filter used to re-parse the accumulated buffer from byte 0 on every chunk; it now defers parsing until a real newline arrives, at most one parse per inbound message. ~10x speedup on 100KB responses.

Changes

  • REPL input-completeness check rewritten on top of parse-partial-sexp + the new port-repl-input-syntax-table defvar. Same observable behaviour, override-friendly for dialect variants.