muffinmad/emacs-mini-frame

29.1; Hanging when setting mini-frame-standalone to t until hitting c-g

Opened this issue · 3 comments

Hi ! When using the following configuration on Emacs 29.1, Emacs seems to hang. At that point, typing keys (other than C-g) doesn't do anything.

(require 'mini-frame)
(mini-frame-mode 1)
(setq mini-frame-standalone t)

Here are the steps to unblock it:

  1. Launch Emacs with the previous configuration
  2. Hit M-x
  3. A mini-frame appear
  4. Hit C-g (the M-x prompt appears)
  5. Hit C-g again (the frame disappears)
  6. Hit M-x
  7. Now we have the normal behavior

I can't reproduce this issue on Emacs 28.2

I believe this is related to #78
Try turning off the mini-frame resize by setting the mini-frame-resize to nil:

(require 'mini-frame)
(sets mini-frame-resize nil)
(setq mini-frame-standalone t)
(mini-frame-mode 1)

It works as expected when setting mini-frame-resize to t. I'll report the bug in the Emacs bugs tracker.