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#11566: 24.0.97; `read-from-minibuffer': focus to standalone minibuffer frame? Date: Tue, 29 May 2012 12:15:51 -0700 Message-ID: <4AFBBDB704B34BB18E08E02CE02AD58B@us.oracle.com> References: <6A40227DCFBF427491B710A473E45744@us.oracle.com> <4FC22A8D.6040801@gmx.at> <8D43F91B0096402A9BCA59FE13513358@us.oracle.com> <4FC49A24.7000403@gmx.at> <96A3CCDD100E49C6ACF2739484C9239A@us.oracle.com> <838vgb2dr1.fsf@gnu.org> <9A9A32EAE9D64B438EDA74E1F3F488FE@us.oracle.com> <831um32azg.fsf@gnu.org> 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 1338319010 8117 80.91.229.3 (29 May 2012 19:16:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 May 2012 19:16:50 +0000 (UTC) Cc: 11566@debbugs.gnu.org To: "'Eli Zaretskii'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 29 21:16:48 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 1SZRuS-0006KR-Py for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2012 21:16:48 +0200 Original-Received: from localhost ([::1]:52206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZRuS-0002Ol-GA for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2012 15:16:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZRuL-0002Ju-8U for bug-gnu-emacs@gnu.org; Tue, 29 May 2012 15:16:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZRuI-00008t-1n for bug-gnu-emacs@gnu.org; Tue, 29 May 2012 15:16:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZRuH-00008m-Un for bug-gnu-emacs@gnu.org; Tue, 29 May 2012 15:16:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SZRvd-0006dq-Ux for bug-gnu-emacs@gnu.org; Tue, 29 May 2012 15:18:01 -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: Tue, 29 May 2012 19:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11566 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11566-submit@debbugs.gnu.org id=B11566.133831906225500 (code B ref 11566); Tue, 29 May 2012 19:18:01 +0000 Original-Received: (at 11566) by debbugs.gnu.org; 29 May 2012 19:17:42 +0000 Original-Received: from localhost ([127.0.0.1]:48744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZRvK-0006dF-1c for submit@debbugs.gnu.org; Tue, 29 May 2012 15:17:42 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:47814) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZRvH-0006d2-B4 for 11566@debbugs.gnu.org; Tue, 29 May 2012 15:17:40 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q4TJG8dZ021282 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 29 May 2012 19:16:09 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q4TJG8le003219 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 May 2012 19:16:08 GMT Original-Received: from abhmt110.oracle.com (abhmt110.oracle.com [141.146.116.62]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q4TJG7LR014491; Tue, 29 May 2012 14:16:07 -0500 Original-Received: from dradamslap1 (/10.159.177.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 29 May 2012 12:16:07 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <831um32azg.fsf@gnu.org> Thread-Index: Ac09ukoZUI3p0qApR9awpBxE4W8yQAADx1sw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] 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:60478 Archived-At: > > In something like `select-frame-set-input-focus', my > > interpretation was that frame selection was related to the > > border highlighting and setting input focus > > was related to receiving keyboard input. AFAIK, > > `select-frame' does the former, but `select-frame-set-input-focus' > > is needed to get the latter. > > On Windows, at least with the default setup, selecting a frame also > grabs focus. So these two functions do the same. No, definitely not with my (non-default) setup. Selecting a frame does not give it the input focus. Hence my need to call `select-frame-set-input-focus' in a few places. And, I would guess, hence the existence of two different functions: `select-frame' and `s-f-s-i-f'. I'm no expert on any of this, obviously. I added `s-f-s-i-f' long ago where I found I needed it - `select-frame' was not sufficient. > > So IIUC, `select-frame-set-input-focus' does `select-frame' plus > > `redirect-frame-focus'? > > No, it just raises the frame after selecting it and makes sure it has > focus (which in most situations it will have by virtue of being > raised). But see above.