From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" 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 11:22:19 -0700 Message-ID: <023F63BCBF9442EBAEDCCE9D8A59E5E4@us.oracle.com> 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> <500449B7.6070309@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342462996 19554 80.91.229.3 (16 Jul 2012 18:23:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2012 18:23:16 +0000 (UTC) Cc: 11939@debbugs.gnu.org To: "'martin rudalics'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 16 20:23:14 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 1Sqpwt-0004s9-KH for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2012 20:23:11 +0200 Original-Received: from localhost ([::1]:58424 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqpws-0002gq-Oa for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2012 14:23:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqpwq-0002gi-4T for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 14:23:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sqpwo-00074p-Qp for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 14:23:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqpwo-00074N-Ms for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 14:23:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Sqq2Y-0002Jt-2V for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 14:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2012 18:29:02 +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.13424633158880 (code B ref 11939); Mon, 16 Jul 2012 18:29:02 +0000 Original-Received: (at 11939) by debbugs.gnu.org; 16 Jul 2012 18:28:35 +0000 Original-Received: from localhost ([127.0.0.1]:44549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sqq27-0002JB-2W for submit@debbugs.gnu.org; Mon, 16 Jul 2012 14:28:35 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:20155) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sqq25-0002J2-1V for 11939@debbugs.gnu.org; Mon, 16 Jul 2012 14:28:33 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6GIMZYi019766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 16 Jul 2012 18:22:36 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6GIMYKd023031 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Jul 2012 18:22:35 GMT Original-Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6GIMYdP006465; Mon, 16 Jul 2012 13:22:34 -0500 Original-Received: from dradamslap1 (/10.159.217.113) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 16 Jul 2012 11:22:34 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <500449B7.6070309@gmx.at> Thread-Index: Ac1jeI3P4mvT1RpzTS21iwsV3gF2bQAAz75A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] 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:61999 Archived-At: > 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. Martin, I'm really sorry, but I was mistakenly not testing with the latest code you sent. I think I did not realize that you sent two versions of your with-temp-buffer-window.el. When I try your recipe from emacs -Q, this time loading the second version of the code you sent, the problem for that emacs -Q recipe is solved. Progress. However, trying with my setup and then loading your code does not solve either the shell frame problem or the Dired problem. I then tried again from emacs -Q with your code, but loading only hexrgb.el, oneonone.el, and the Cygwin setup libraries, to test whether the problem was a standalone minibuffer. I saw no problem when I used C-x C-c to quit with active processes. Likewise, no problem with the Dired scenario. That's more good news. I then tried as for the last test, but also setting `special-display-regexps' to ("[ ]?[*][^*]+[*]") so that *Process List* is special-display. Again, I saw no problem (bug). (But the *Process List* frame that was popped up was completely hidden behind the frame that was selected when I hit C-x C-c. That's not good.) So I do not yet know what else in my setup causes the problem. I will have to dig to try to find out - can't do that today. If we do find a solution for the problem in the end, it would be good if it were also a solution for older Emacs versions, and not just Emacs 24+. The same problem exists in all Emacs versions I am aware of. (But we're not there yet, anyway.) > > 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. Glad my feedback serves some purpose occasionally. ;-)