From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: completing-read (and M-x) with pop-up-frames non-nil changesframefocus Date: Mon, 18 Jul 2005 15:14:23 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1121725827 29891 80.91.229.2 (18 Jul 2005 22:30:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2005 22:30:27 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 19 00:30:24 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Due6L-0002Ie-GY for ged-emacs-devel@m.gmane.org; Tue, 19 Jul 2005 00:28:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Due8I-0005x0-J1 for ged-emacs-devel@m.gmane.org; Mon, 18 Jul 2005 18:30:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Due3S-0003cY-UF for emacs-devel@gnu.org; Mon, 18 Jul 2005 18:25:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Due3H-0003Xy-N1 for emacs-devel@gnu.org; Mon, 18 Jul 2005 18:25:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Due3G-0003V9-Uj for emacs-devel@gnu.org; Mon, 18 Jul 2005 18:25:31 -0400 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Due1c-0004JK-Ql for emacs-devel@gnu.org; Mon, 18 Jul 2005 18:23:48 -0400 Original-Received: from agminet01.oracle.com (localhost [127.0.0.1]) by agminet01.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j6IMEPHG014094 for ; Mon, 18 Jul 2005 17:14:25 -0500 Original-Received: from rgmsgw300.us.oracle.com (rgmsgw300.us.oracle.com [138.1.186.49]) by agminet01.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j6IMEPxb014081 for ; Mon, 18 Jul 2005 17:14:25 -0500 Original-Received: from rgmsgw300.us.oracle.com (localhost [127.0.0.1]) by rgmsgw300.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j6IMEOwZ009094 for ; Mon, 18 Jul 2005 16:14:24 -0600 Original-Received: from dradamslap (dradams-lap.us.oracle.com [130.35.177.126]) by rgmsgw300.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j6IMEO8f009084 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Mon, 18 Jul 2005 16:14:24 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41053 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41053 On Windows, you have to manually select original the frame (e.g. click the title bar). In any case, you should not need to move the mouse or click the original frame. *Completions* should only be displayed, not selected, whether or not it is in another frame. When focus follows the mouse, it is difficult to avoid selecting it if it shows up under the mouse. I didn't have focus-follows-mouse turned on. If it were on, and if the new frame did not happen to show up under the mouse, it would not be selected, right? When the window manager is using click-to-focus, it would be good if this frame appeared without being selected. Yes. That's the problem. Emacs once tried to implement this, around 10 years ago, but I think it did not work right, so it was taken out. I guess you're saying that when a frame is created it is always given the focus. That's too bad. Stefan seemed to have a fix for this, at least in this case, but it needs to be tested on Windows.