Subject: 29.1; Regression: When using a minibuffer-only frame, setting `resize-mini-frames' hangs Emacs

From: Nicolas Odermatt-Lemay <[email-masked]>
Date: Tue, 5 Dec 2023 20:41:47 -0500

Hello, when starting Emacs 29.1 with the following command:

    emacs -Q --eval "(progn (setq default-frame-alist '((minibuffer .
nil))) (setq resize-mini-frames t))"

Using a key sequence that prompts using the minibuffer, such as `M-x'
causes Emacs to hang. Hitting `C-g' a couple of times seems to unblock it
but it gets stuck again when using `M-x' again.

Starting Emacs with the command above but setting `resize-mini-frames' to
`nil' works as expected as far as I can tell:

    emacs -Q --eval "(progn (setq default-frame-alist '((minibuffer .
nil))) (setq resize-mini-frames nil))"

I can't reproduce this issue using Emacs 28.2.

Thanks for your help !