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 focuswhenit calls `list-processes' Date: Sat, 28 Jul 2012 08:31:41 -0700 Message-ID: References: <5006E14B.3000407@gmx.at><47731CC5C6EC4ED9AB9E9E05E259572C@us.oracle.com><5007E47B.3050907@gmx.at><446B437450EC47968D15C20D7142296B@us.oracle.com><500A8C0E.4040006@gmx.at><96A974694CF64567A3EAB85185AB3A5C@us.oracle.com><500BBE6F.6020007@gmx.at><1403DD3D67534F53BC023CC99A258DF5@us.oracle.com><838veb209m.fsf@gnu.org><83r4s2zcp9.fsf@gnu.org><81CFBB36FDCB4CD6B3762F9E00AC8290@us.oracle.com><83fw8iz7et.fsf@gnu.org><60948DD3935D452F85F95174474D06E9@us.oracle.com><838veaz34x.fsf@gnu.org><83629blssa.fsf@gnu.org>!<5011116B.4010106@gm x.at><32A934E820BA4853B84229C32F7145A1@us.oracle! ! .com><50116AD9.706 09@gmx.at><548032D12CE14E3689257D609E93482F@us.oracle.com><501175C9.3090803@gmx.at> <2F76545DBD0C4F199A60F4! B750709112@us.oracle. com> <50123650.8020 508@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 1343489525 7272 80.91.229.3 (28 Jul 2012 15:32:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 28 Jul 2012 15:32:05 +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 Sat Jul 28 17:32:05 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 1Sv8zs-000325-M2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Jul 2012 17:32:04 +0200 Original-Received: from localhost ([::1]:33579 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sv8zs-0004qa-1h for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Jul 2012 11:32:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sv8zp-0004q9-2F for bug-gnu-emacs@gnu.org; Sat, 28 Jul 2012 11:32:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sv8zo-0000mW-58 for bug-gnu-emacs@gnu.org; Sat, 28 Jul 2012 11:32:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sv8zo-0000mS-1M for bug-gnu-emacs@gnu.org; Sat, 28 Jul 2012 11:32:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Sv96c-00062n-39 for bug-gnu-emacs@gnu.org; Sat, 28 Jul 2012 11:39: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: Sat, 28 Jul 2012 15:39: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.134348993823223 (code B ref 11939); Sat, 28 Jul 2012 15:39:02 +0000 Original-Received: (at 11939) by debbugs.gnu.org; 28 Jul 2012 15:38:58 +0000 Original-Received: from localhost ([127.0.0.1]:46777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sv96X-00062V-3e for submit@debbugs.gnu.org; Sat, 28 Jul 2012 11:38:57 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:19150) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sv96U-00062N-L5 for 11939@debbugs.gnu.org; Sat, 28 Jul 2012 11:38:56 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6SFVnud000416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 28 Jul 2012 15:31:50 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6SFVmUq013278 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Jul 2012 15:31:49 GMT Original-Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6SFVmEC019346; Sat, 28 Jul 2012 10:31:48 -0500 Original-Received: from dradamslap1 (/10.159.164.157) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 28 Jul 2012 08:31:48 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac1rwc8JXNmepa9wRridMLEYdgR8DgBEiyWA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 In-Reply-To: <50123650.8020508@gmx.at> X-Source-IP: ucsinet21.oracle.com [156.151.31.93] 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:62512 Archived-At: Martin, Can you tell me where you think we are with this bug? Can we please separate out any other bugs/problems that have been encountered in this thread, such as crashes, and return to the problem of the bug report? I thought we were making progress on that, but it's not clear to me where we are now wrt the problem. Here's my attempt at a summary - but please help me fill things in, with your understanding: You wrote some code which improved things, and I tried various things, the last of which was this: (add-hook 'after-make-frame-functions (lambda (frame) (redirect-frame-focus frame (window-frame (minibuffer-window))))) You mentioned that when you tried redirecting to the minibuffer frame that way you encountered some problems, but you didn't remember what they were. I said that when I instead redirected the frame to itself (which I guess worked for you), it did not solve the focus problem (for me). I said that with the above code another problem is introduced, which is that the current-buffer and selected window are apparently left as " *Minibuf-0*". Do you have a better idea of where things stand wrt this problem? Will you be applying your latest code to Emacs? Where do you think we should go from here, to progress a bit and perhaps finish this? In sum, I would like us to try to refocus on the original problem and see if we can take stock of what we have learned.