Sometimes I'll open a large structured files (say, JSON) using json-mode
, but the contents are malformed in some way (or something) and my Emacs session will suddenly spike my CPU to 100% and become unresponsive. Attempting to quit with C-g
seems to do nothing.
Is there a graceful way to recover from such a situation? I usually just end up killing my entire emacs process and (in bad cases), editing the .emacs.desktop
file to omit the problematic buffers.
I'm running GNU Emacs 28.2 on macOS 13.4.1.