muffinmad / emacs-mini-frame

Show minibuffer in child frame on read-from-minibuffer
GNU General Public License v3.0
321 stars 20 forks source link

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

Open KindlyRepeat opened 10 months ago

KindlyRepeat commented 10 months ago

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

muffinmad commented 10 months ago

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)
KindlyRepeat commented 10 months ago

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

KindlyRepeat commented 10 months ago

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67653