From drew.adams@oracle.com Tue Dec 23 08:48:32 2008 Received: (at submit) by emacsbugs.donarmstrong.com; 23 Dec 2008 16:48:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 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 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 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 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 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 Received: from dradamslap1 (/24.5.135.148) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 23 Dec 2008 08:48:13 -0800 From: "Drew Adams" To: Subject: 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> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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) 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' From rudalics@gmx.at Sun Jan 4 11:37:06 2009 Received: (at 1681) by emacsbugs.donarmstrong.com; 4 Jan 2009 19:37:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=FVGT_m_MULTI_ODD autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n04Jb2iR003747 for <1681@emacsbugs.donarmstrong.com>; Sun, 4 Jan 2009 11:37:04 -0800 Received: (qmail invoked by alias); 04 Jan 2009 19:36:56 -0000 Received: from 88-117-37-64.adsl.highway.telekom.at (EHLO [88.117.37.64]) [88.117.37.64] by mail.gmx.net (mp040) with SMTP; 04 Jan 2009 20:36:56 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1++jHsjl/u+jFkke1MfKLsEqZIWRDePpVPm9xCTEb Pv8TicA8wGXby3 Message-ID: <49610F7A.3050902@gmx.at> Date: Sun, 04 Jan 2009 20:35:22 +0100 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: 1681@debbugs.gnu.org CC: Drew Adams Subject: Re: 23.0.60; list-processes - please reset focus to original frame when done Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.73 > 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'. We might be able to make such behavior customizable for the case where Emacs asks for user input. Meanwhile you could try using a workaround like (defvar my-selected-frame nil) (add-hook 'temp-buffer-setup-hook (lambda () (setq my-selected-frame (selected-frame)))) (add-hook 'post-command-hook (lambda () (when my-selected-frame (select-frame-set-input-focus my-selected-frame) (setq my-selected-frame nil)))) martin From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 07 18:46:44 2011 Received: (at 1681) by debbugs.gnu.org; 7 Jul 2011 22:46:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QexLI-0007Ll-KB for submit@debbugs.gnu.org; Thu, 07 Jul 2011 18:46:44 -0400 Received: from mail-pw0-f44.google.com ([209.85.160.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QexLH-0007LX-7o for 1681@debbugs.gnu.org; Thu, 07 Jul 2011 18:46:43 -0400 Received: by pwj5 with SMTP id 5so836999pwj.3 for <1681@debbugs.gnu.org>; Thu, 07 Jul 2011 15:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=wNF6tO6RaC/krPmi5EgMCiWdn6Y3hz9XIp6IV+Mdr4M=; b=bwxCXAtYpqoSPn+ZsFws0nJY7JT/kxIU0ik/8zn6G05MvunC620xkQ9SO3p3WlFOuh qBcoQINdXh0tXN1LqRwB+Tz7hsyVSMLc2Zk/uPW1Yq8p0e7ooeKwMeQxWtCS7A1RqnEV SiJHX92EJiJv+a070GeF9AZMVfYvotjibIATU= Received: by 10.143.91.16 with SMTP id t16mr648634wfl.366.1310078797227; Thu, 07 Jul 2011 15:46:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.144.4 with HTTP; Thu, 7 Jul 2011 15:45:57 -0700 (PDT) In-Reply-To: References: <49610F7A.3050902@gmx.at> From: Juanma Barranquero Date: Fri, 8 Jul 2011 00:45:57 +0200 Message-ID: Subject: Re: bug#1681: 23.0.60; list-processes - please reset focus to original frame when done To: martin rudalics Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 1681 Cc: 1681@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) [Now with the right debbugs address, hopefully] > We might be able to make such behavior customizable for the case where > Emacs asks for user input. The problem reported by Drew is still there. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 04 14:52:44 2012 Received: (at 1681) by debbugs.gnu.org; 4 Oct 2012 18:52:44 +0000 Received: from localhost ([127.0.0.1]:54488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJqXL-0007qV-JW for submit@debbugs.gnu.org; Thu, 04 Oct 2012 14:52:44 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:53479) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TJqXJ-0007q8-K2 for 1681@debbugs.gnu.org; Thu, 04 Oct 2012 14:52:42 -0400 Received: (qmail invoked by alias); 04 Oct 2012 18:52:29 -0000 Received: from 62-47-48-109.adsl.highway.telekom.at (EHLO [62.47.48.109]) [62.47.48.109] by mail.gmx.net (mp034) with SMTP; 04 Oct 2012 20:52:29 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18uX4p8cP0ul74fz6pE80nd1i5ybtKwHNAgemp6jB CHnUDEZPHstCjM Message-ID: <506DDAF1.7070303@gmx.at> Date: Thu, 04 Oct 2012 20:52:33 +0200 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: 23.0.60; list-processes - please reset focus to original frame when done Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 1681 Cc: 1681@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) > 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' Is this still a problem? martin From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 04 16:19:01 2012 Received: (at 1681) by debbugs.gnu.org; 4 Oct 2012 20:19:01 +0000 Received: from localhost ([127.0.0.1]:54711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJrsq-0002IG-Tj for submit@debbugs.gnu.org; Thu, 04 Oct 2012 16:19:01 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:26521) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJrso-0002I4-Ie for 1681@debbugs.gnu.org; Thu, 04 Oct 2012 16:18:59 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q94KIhP7001584 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 4 Oct 2012 20:18:45 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q94KIhME001759 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Oct 2012 20:18:43 GMT Received: from abhmt110.oracle.com (abhmt110.oracle.com [141.146.116.62]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q94KIhgW019244; Thu, 4 Oct 2012 15:18:43 -0500 Received: from dradamslap1 (/130.35.178.248) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 04 Oct 2012 13:18:42 -0700 From: "Drew Adams" To: "'martin rudalics'" References: <506DDAF1.7070303@gmx.at> Subject: RE: 23.0.60; list-processes - please reset focus to original frame when done Date: Thu, 4 Oct 2012 13:18:41 -0700 Message-ID: <4DF88A68C2514D7DA54DFED4B2B68B5B@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <506DDAF1.7070303@gmx.at> Thread-Index: Ac2iYWj0J9y63PhuTcme6fpvLd4srQAC6y7w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 1681 Cc: 1681@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) > Is this still a problem? I think this was the same as #11939, which was fixed. I will close this one too. Thx. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 04 16:20:00 2012 Received: (at control) by debbugs.gnu.org; 4 Oct 2012 20:20:00 +0000 Received: from localhost ([127.0.0.1]:54718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJrto-0002Jw-1M for submit@debbugs.gnu.org; Thu, 04 Oct 2012 16:20:00 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:32668) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJrtm-0002Jk-2o for control@debbugs.gnu.org; Thu, 04 Oct 2012 16:19:58 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q94KJiHa007288 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 4 Oct 2012 20:19:44 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q94KJhMD003330 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 4 Oct 2012 20:19:43 GMT Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q94KJhJo023008 for ; Thu, 4 Oct 2012 15:19:43 -0500 Received: from dradamslap1 (/130.35.178.248) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 04 Oct 2012 13:19:43 -0700 From: "Drew Adams" To: Subject: bug #1681: close Date: Thu, 4 Oct 2012 13:19:42 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac2ibZZsUua3j6ipRlOtV0msbkMF1A== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) close 1681 thanks From unknown Mon Aug 18 02:37:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 02 Nov 2012 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator