Subject: 31.0.50; Emacs hangs with open-paren-in-column-0-is-defun-start set to nil

From: Eshel Yaron <[email-masked]>
Date: Thu, 22 Aug 2024 12:07:38 +0200

1. emacs -Q
2. (setq open-paren-in-column-0-is-defun-start nil)
3. Insert " (foo"
4. M-x flymake-mode
5. Emacs hangs

I can reproduce this with Emacs 29 and later.

Best,

Eshel