From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#11939: 24.1; `save-buffers-kill-emacs' loses minibuffer focus when it calls `list-processes' Date: Mon, 16 Jul 2012 19:04:55 +0200 Message-ID: <500449B7.6070309@gmx.at> References: <500173A5.3040608@gmx.at> <1986D90E22154321A44B6E0110CA4F5A@us.oracle.com> <50019C2F.8060103@gmx.at> <6B9036DBFDEF4881AB39804520BF63B3@us.oracle.com> <5002BEC6.3040106@gmx.at> <893E59C2E4F94D6EB910560C9E8C42CD@us.oracle.com> <5002EAF4.5080107@gmx.at> <6F73D04E8EE144E780D602DFEBA48E7B@us.oracle.com> <5003DAF2.2060400@gmx.at> <50043C3D.7090201@gmx.at> <208B7D7BB4BC4339ADCC1166F76C1CD2@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342459821 24824 80.91.229.3 (16 Jul 2012 17:30:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2012 17:30:21 +0000 (UTC) Cc: 11939@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 16 19:30:19 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sqp7i-0003PQ-8X for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2012 19:30:18 +0200 Original-Received: from localhost ([::1]:41238 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqp7h-0006uE-HG for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2012 13:30:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqp7d-0006nW-0T for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 13:30:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sqp7X-0006T3-Fg for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 13:30:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqp7X-0006Sq-C7 for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 13:30:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SqpDF-00015j-W0 for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 13:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2012 17:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11939 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11939-submit@debbugs.gnu.org id=B11939.13424601264144 (code B ref 11939); Mon, 16 Jul 2012 17:36:01 +0000 Original-Received: (at 11939) by debbugs.gnu.org; 16 Jul 2012 17:35:26 +0000 Original-Received: from localhost ([127.0.0.1]:44452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SqpCg-00014m-FX for submit@debbugs.gnu.org; Mon, 16 Jul 2012 13:35:26 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:35879) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SqpCe-00014e-36 for 11939@debbugs.gnu.org; Mon, 16 Jul 2012 13:35:25 -0400 Original-Received: (qmail invoked by alias); 16 Jul 2012 17:03:57 -0000 Original-Received: from 62-47-32-250.adsl.highway.telekom.at (EHLO [62.47.32.250]) [62.47.32.250] by mail.gmx.net (mp028) with SMTP; 16 Jul 2012 19:03:57 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18MtlM+QOkMwsNtecoPQSDpzHTjZXbcoJuuiAB8vH vDpX4jzeFJBPek In-Reply-To: <208B7D7BB4BC4339ADCC1166F76C1CD2@us.oracle.com> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61995 Archived-At: >> 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. > > Same behavior as the other emacs -Q recipe that manifested the problem: > > The question about killing processes is shown in the minibuffer of the frame > with buffer *shell*. Buffer *Process List* is popped up in a new frame, which > is apparently selected for focus (by MS Windows). Typing yes/no has no effect > and there is no feedback, presumably because the wrong frame receives the input. > > (I cannot tell the order between the behavior described in the first and second > sentences. They seem to happen about the same time) > > And if you click mouse-1 in the echo area of the *Process List* frame then > *Messages* is popped up in a new frame, confirming that there is no active > minibuffer there. > > So now we have two recipes from emacs -Q, one with the code you sent. This means that we have two different systems. Here (Windows XP SP2) the scenario above makes the *shell* buffer partially hide the *Process List* buffer and typing yes/no has the desired effect. Now we can only wait till someone confirms either your or my behavior. BTW, is it possible that Cygwin interferes here? With Cygwin (rootless) you apparently can't pop up an existing frame, see http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00364.html > BTW, if, after the kill-processes question is posed, I hit C-x C-c again (no > reason to do that, but I did, just to see) then I get this message: > > "window-normalize-window: # is not a live window" > > and the frame with *Process List* disappears. > > Dunno whether this extra info helps at all, but I found it curious behavior. It's a leftover from `quit-window'. Thanks for noticing. martin