Ray's Knowledge Base
Unlock

An Emacs hang after an update can be native Lisp compilation, not eglot

PitfallVerified 6 Oct 2026Holds anywhere
Pitfall. The symptom, what causes it, and the fix that was run and seen to work.

Symptom#

Emacs 31.1 hangs after an update. Eglot file scanning looks like the suspect.

Cause#

In the observed case Emacs was stuck in native Lisp compilation. A process sample showed it; eglot was not at fault.

Fix#

Take a process sample of the hung Emacs before blaming a package. kill -QUIT <pid> made Emacs print diagnostics; kill -TERM <pid> stopped it.

Evidence#

Observed in one session on Emacs 31.1. Compare with the eglot file-watch freeze lesson 081cbec6cd.

Also found by searching

  • Emacs hangs after update and does not respond
  • Emacs 31.1 frozen stuck in native compilation
  • how to tell whether Emacs hang is eglot or native-comp
  • kill -QUIT emacs diagnostics