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 focuswhenit calls `list-processes' Date: Sun, 29 Jul 2012 15:56:24 +0200 Message-ID: <50154108.7040404@gmx.at> References: <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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1343570227 26293 80.91.229.3 (29 Jul 2012 13:57:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Jul 2012 13:57:07 +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 Sun Jul 29 15:57:03 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 1SvTzQ-0007zd-L4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jul 2012 15:57:00 +0200 Original-Received: from localhost ([::1]:33857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvTzQ-0007GC-2r for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jul 2012 09:57:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvTzM-0007Cy-LI for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 09:56:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvTzK-0005HZ-E2 for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 09:56:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvTzK-0005HM-Af for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 09:56:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SvU6D-0004IA-UX for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 10:04:01 -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: Sun, 29 Jul 2012 14:04: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.134357062516465 (code B ref 11939); Sun, 29 Jul 2012 14:04:01 +0000 Original-Received: (at 11939) by debbugs.gnu.org; 29 Jul 2012 14:03:45 +0000 Original-Received: from localhost ([127.0.0.1]:48832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvU5x-0004HV-1c for submit@debbugs.gnu.org; Sun, 29 Jul 2012 10:03:45 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:57987) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SvU5v-0004HO-AL for 11939@debbugs.gnu.org; Sun, 29 Jul 2012 10:03:44 -0400 Original-Received: (qmail invoked by alias); 29 Jul 2012 13:56:34 -0000 Original-Received: from 62-47-44-164.adsl.highway.telekom.at (EHLO [62.47.44.164]) [62.47.44.164] by mail.gmx.net (mp002) with SMTP; 29 Jul 2012 15:56:34 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+ec8wMmWGepzz0j0GmByySJsqymNn4baSRzm1OV3 GjFCnJuZgppD9c In-Reply-To: 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:62563 Archived-At: > 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? IIUC the above is what you wanted to apply for making your code work with versions <= Emacs 24.1. > Will you be > applying your latest code to Emacs? Unless you tell me that you find any problems with it. > 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. I can't say that I have learned much so far. Most of the focus redirection stuff still remains a mystery to me. Personally, I would never use a separate minibuffer frame for the sole reason that I don't understand how it works. martin