From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#19012: 25.0.50; `help-window-select' Date: Fri, 14 Nov 2014 20:08:28 +0100 Message-ID: <5466532C.2040003@gmx.at> References: <5460F5B3.6040402@gmx.at> <8e78202d-5ac0-4df5-8195-9849dd7509b7@default> <5461C901.6060707@gmx.at> <3f833473-f246-4d57-95cd-2ac654d326c9@default> <5462561B.2030306@gmx.at> <561951d1-fee4-44ea-bc22-d354b007601d@default> <54646172.7020801@gmx.at> <5464DC39.4020703@gmx.at> <5464FCD5.6070201@gmx.at> <66cb622a-236c-4e8d-a7ba-cb1de310bb05@default> <5465E967.1050304@gmx.at> <41926108-7556-4b72-ae2c-60933b4ff187@default> <5466300D.2030708@gmx.at> <75786231-f3a3-420f-a0d8-4960e09c720e@default> <54663E6F.6010702@gmx.at> <5453eef4-1955-4b79-819a-43786f56a8cc@default> <5466457F.8000400@gmx.at> <54664AF4.9000606@gmx.at> <97868572-923b-4f0a-bd16-b4d475ddb002@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1415992173 31230 80.91.229.3 (14 Nov 2014 19:09:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2014 19:09:33 +0000 (UTC) To: Drew Adams , 19012@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 14 20:09:23 2014 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 1XpMFF-0008Ix-Li for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Nov 2014 20:09:21 +0100 Original-Received: from localhost ([::1]:37601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpMFE-0004AN-U1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Nov 2014 14:09:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpMF4-0004A6-2r for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 14:09:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpMEw-0005cf-KF for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 14:09:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpMEw-0005cR-Gj for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 14:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XpMEw-0000K4-3a for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 14:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Nov 2014 19:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19012 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19012-submit@debbugs.gnu.org id=B19012.14159921231214 (code B ref 19012); Fri, 14 Nov 2014 19:09:02 +0000 Original-Received: (at 19012) by debbugs.gnu.org; 14 Nov 2014 19:08:43 +0000 Original-Received: from localhost ([127.0.0.1]:32871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpMEd-0000JT-2G for submit@debbugs.gnu.org; Fri, 14 Nov 2014 14:08:43 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:51314) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpMEa-0000JJ-2F for 19012@debbugs.gnu.org; Fri, 14 Nov 2014 14:08:41 -0500 Original-Received: from [93.82.11.4] ([93.82.11.4]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0Ld4xA-1YFvbo0dbE-00iGB4; Fri, 14 Nov 2014 20:08:36 +0100 In-Reply-To: <97868572-923b-4f0a-bd16-b4d475ddb002@default> X-Provags-ID: V03:K0:UetBh7Ze0YcbqDZdxhib1EpnwqhJpnR0KvgbV5RLS/y1XW1wHlN FgahxTvFySlb+TePd4Ou0q60Fz+JjhuF6jMEniozBiSHgIlPDSnF9eCo3Cs7ByPpf7PyVO5 EUdM6HkjmcQwsrMz1V9O10cSRSqDcDDQM7I1StWpvSSteerGfp9Fw/R+D9l+k7X/V0U3TDF tJQm5kgapOW/qAJtl6Vsw== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:96037 >> > I too see the message "#". >> > >> > However, if I type text it is inserted in buffer *scratch*. >> > And the *Help* frame border indicates that it is not the >> > current/focused/selected frame. >> > >> > So apparently the frame is not focused, even if the window is >> > selected. HTH. >> >> What does evaluating (selected-window) give when the *Help* frame is >> raised while the *scratch* frame is focused? > > `M-: (selected-window)' at that point shows: # Together this proves two things: (1) `with-help-window' correctly selects the *Help* window. (2) `raise-frame' is far from "punctual" (takes place at a moment in time) as you claimed earlier. You can try the following: In `temp-buffer-window-setup-hook' set `w32-grab-focus-on-raise' to t. In `temp-buffer-window-show-hook' set it back to nil. Meanwhile I seem to understand why I can't see the behavior you describe on my Windows XP. I have both "Activation follows mouse" and "Autoraise when activating" set. So apparently when the second frame is raised my mouse moves there and focuses the frame. This means that the rigmarole done by `w32-grab-focus-on-raise' nil has no effect here at all. martin