Daimrod <daim...@gmail.com> writes: > Matt Lundin <m...@imapmail.org> writes: > >> >> The freezes are very difficult to replicate reliably. When they happen, >> emacs is unresponsive and can only be killed from the outside. Any tips >> on how to debug this would be greatly appreciated. > > See my previous post: > http://thread.gmane.org/gmane.emacs.orgmode/86255/focus=86263 > > You can wrap `jit-lock--debug-fontify' with: > > (advice-add 'jit-lock--debug-fontify :around > (lambda (fun &rest args) > (with-local-quit (apply fun args)))) > > and then force emacs to break and display a backtrace by sending the > SIGUSR2 to the emacs process. >
Thanks, that's helpful. It seems jit-lock--debug-fontify is the development emacs. I'll build that in a moment... For the record, I've been seeing these lockups with stable releases of emacs (currently 24.3). Thanks, Matt