From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11566: 24.0.97; `read-from-minibuffer': focus to standalone minibuffer frame? Date: Wed, 30 May 2012 21:43:07 +0300 Message-ID: <83lik91pdw.fsf@gnu.org> References: <6A40227DCFBF427491B710A473E45744@us.oracle.com> <4FC22A8D.6040801@gmx.at> <8D43F91B0096402A9BCA59FE13513358@us.oracle.com> <4FC49A24.7000403@gmx.at> <83aa0r2dy8.fsf@gnu.org> <83zk8r0wan.fsf@gnu.org> <47A37270DECE4F1090B3C600AD3EA768@us.oracle.com> <83wr3u20zs.fsf@gnu.org> <48D5DE31AB1D493F8F54655CEF962C08@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1338403435 10052 80.91.229.3 (30 May 2012 18:43:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 May 2012 18:43:55 +0000 (UTC) Cc: 11566@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 30 20:43:53 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 1SZns4-0007iB-KF for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 May 2012 20:43:48 +0200 Original-Received: from localhost ([::1]:55373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZns4-0002gL-Eg for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 May 2012 14:43:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZns1-0002gF-9M for bug-gnu-emacs@gnu.org; Wed, 30 May 2012 14:43:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZnro-00037b-7W for bug-gnu-emacs@gnu.org; Wed, 30 May 2012 14:43:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZnro-00037X-3w for bug-gnu-emacs@gnu.org; Wed, 30 May 2012 14:43:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SZntF-0000XA-NR for bug-gnu-emacs@gnu.org; Wed, 30 May 2012 14:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 May 2012 18:45: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.13384034792014 (code B ref 11566); Wed, 30 May 2012 18:45:01 +0000 Original-Received: (at 11566) by debbugs.gnu.org; 30 May 2012 18:44:39 +0000 Original-Received: from localhost ([127.0.0.1]:50724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZnss-0000WR-IT for submit@debbugs.gnu.org; Wed, 30 May 2012 14:44:38 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:33418) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZnsq-0000WC-4g for 11566@debbugs.gnu.org; Wed, 30 May 2012 14:44:37 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M4U00K00MGPPT00@a-mtaout22.012.net.il> for 11566@debbugs.gnu.org; Wed, 30 May 2012 21:42:58 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M4U00KVGMNL70B0@a-mtaout22.012.net.il>; Wed, 30 May 2012 21:42:58 +0300 (IDT) In-reply-to: <48D5DE31AB1D493F8F54655CEF962C08@us.oracle.com> X-012-Sender: halo1@inter.net.il 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:60545 Archived-At: > From: "Drew Adams" > Cc: , <11566@debbugs.gnu.org> > Date: Tue, 29 May 2012 14:31:39 -0700 > > Being on top, having the input focus, and having the borders highlighted all > seem to be independent (not necessarily coupled). Yes, that's true. > After you answer these questions, `*Marked Files*' is popped up and you are > asked for the chmod value (e.g. `go+w'). It is for that last input reading that > the problem arises: the input focus is in the *Marked Files* frame. Is the input focus there, or does the input you type arrive at that frame (instead of the minibuffer frame)? As we established, the frame that has focus and the frame that gets the input can be different frames, thanks to redirect-frame-focus. I see in the code that read-from-minibuffer (or, rather, one of its subroutines) does the equivalent of the following: (if minibuffer-auto-raise (raise-frame minibuffer-frame)) ... (or (eq (selected-frame) minibuffer-frame) (redirect-frame-focus minibuffer-frame)) Does your setup have minibuffer-auto-raise set to a non-nil value? If not, can you see if setting it non-nil fixes the problem? (I'm not saying that this should be the fix, I'm just trying to figure out which part(s) of read-from-minibuffer fail to do their job.)