From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1681: 23.0.60; list-processes - please reset focus to original frame when done Date: Tue, 23 Dec 2008 08:48:06 -0800 Message-ID: <002801c9651e$3bf97c00$0200a8c0@us.oracle.com> Reply-To: Drew Adams , 1681@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1230052131 21083 80.91.229.12 (23 Dec 2008 17:08:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Dec 2008 17:08:51 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 23 18:09:57 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LFAlW-00077X-UY for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Dec 2008 18:09:55 +0100 Original-Received: from localhost ([127.0.0.1]:43663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LFAkK-0006qw-6P for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Dec 2008 12:08:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LFAfE-000478-Ry for bug-gnu-emacs@gnu.org; Tue, 23 Dec 2008 12:03:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LFAfD-00046V-H5 for bug-gnu-emacs@gnu.org; Tue, 23 Dec 2008 12:03:24 -0500 Original-Received: from [199.232.76.173] (port=44425 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LFAfC-00046N-SK for bug-gnu-emacs@gnu.org; Tue, 23 Dec 2008 12:03:23 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40555) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LFAfC-0003uX-7F for bug-gnu-emacs@gnu.org; Tue, 23 Dec 2008 12:03:22 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBNH3Kaw032648; Tue, 23 Dec 2008 09:03:20 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBNGo26j027898; Tue, 23 Dec 2008 08:50:02 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 23 Dec 2008 16:50:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1681 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123005091227680 (code B ref -1); Tue, 23 Dec 2008 16:50:02 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 23 Dec 2008 16:48:32 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBNGmSME027668 for ; Tue, 23 Dec 2008 08:48:30 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:46232 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LFAPv-0000kI-3L for emacs-pretest-bug@gnu.org; Tue, 23 Dec 2008 11:47:35 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LFAQk-0000kD-Rz for emacs-pretest-bug@gnu.org; Tue, 23 Dec 2008 11:48:28 -0500 Original-Received: from rcsinet13.oracle.com ([148.87.113.125]:37156 helo=rgminet13.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LFAQk-0000jx-Cr for emacs-pretest-bug@gnu.org; Tue, 23 Dec 2008 11:48:26 -0500 Original-Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by rgminet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBNGmuQ3027063 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 23 Dec 2008 16:48:57 GMT Original-Received: from acsmt703.oracle.com (acsmt703.oracle.com [141.146.40.81]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBNGmigk016724 for ; Tue, 23 Dec 2008 16:48:51 GMT Original-Received: from dradamslap1 (/24.5.135.148) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 23 Dec 2008 08:48:13 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcllHjq5C4XZqHNhS9iEzdrplvkEMA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt703.oracle.com [141.146.40.81] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.49511655.0182:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 23 Dec 2008 12:03:23 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23452 gmane.emacs.pretest.bugs:23544 Archived-At: On MS Windows, a new frame is selected when it is created. I use a standalone minibuffer frame and have non-nil `pop-up-frames'. This causes `list-processes' to create a new frame the first time it displays buffer *Process List*. Typically, I don't call `list-processes' manually, so there is no frame with buffer *Process List* when I quit Emacs. When I do `C-x C-c', I cannot simply type `yes' or `no', because creation of the new frame for *Process List* switches focus to that frame. I must first manually select the minibuffer frame, to move focus to it; then I can type `yes' or `no'. This is annoying. Please change `list-processes' so that it calls `select-frame-set-input-focus' at the end to move focus back to the frame that previously had the focus. This is a general problem. Perhaps a general fix could be found. It is at least a problem for functions that might display a buffer for the first time, and especially those that then ask for user input (e.g. `yes-or-no-p'). `list-processes' is a poster child for this kind of function, and it has the added annoyance of being called automatically by `C-x C-c'. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-12-19 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping'