Subject: bug#11939: 24.1; `save-buffers-kill-emacs' loses minibuffer focus when it calls `list-processes'

From: martin rudalics <[email-masked]>
Date: Mon, 16 Jul 2012 18:07:25 +0200

> I might be misunderstanding you, but I did this:
 >
 > 1. Started Emacs with my normal setup (not from emacs -Q).
 > 2. Loaded the code you sent.
 > 3. M-x shell
 >
 > 4. Clicked the title bar of the standalone minibuffer frame, to select it.  (Did
 > that since you said that your code would not help with the usual case, where
 > another frame has the focus).
 >
 > 5. C-x C-c
 >
 > The result was the same as before: typing (e.g. "yes") had no effect.  The
 > minibuffer frame apparently lost the focus as soon as the new *Process List* was
 > created.

OK.  Then let's try again with `pop-up-frames' t.  With emacs -Q evaluate

(progn
   (setq pop-up-frames t)
   (load "~/with-temp-buffer-window.el")
   (shell))

type C-x C-c, and tell me what happens.

martin