From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#24500: 25.1.50; Can't other-window from minibuffer if Ediff control panel frame present Date: Fri, 30 Sep 2016 19:21:09 +0100 Message-ID: References: <83a8f1f8l0.fsf@gnu.org> <83mvj0dkhd.fsf@gnu.org> <57E6CE51.1040600@gmx.at> <57EE232E.4090301@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1475259742 18111 195.159.176.226 (30 Sep 2016 18:22:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Sep 2016 18:22:22 +0000 (UTC) Cc: 24500@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 30 20:22:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bq2Rp-0003al-Rr for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Sep 2016 20:22:14 +0200 Original-Received: from localhost ([::1]:46215 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq2Ro-0006Gd-Ca for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Sep 2016 14:22:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq2Ri-0006GV-0S for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2016 14:22:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bq2Re-0006Xr-4q for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2016 14:22:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq2Re-0006Xi-16 for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2016 14:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bq2Rd-0008Um-St for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2016 14:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Sep 2016 18:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24500 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24500-submit@debbugs.gnu.org id=B24500.147525970832636 (code B ref 24500); Fri, 30 Sep 2016 18:22:01 +0000 Original-Received: (at 24500) by debbugs.gnu.org; 30 Sep 2016 18:21:48 +0000 Original-Received: from localhost ([127.0.0.1]:39970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bq2RQ-0008UK-6E for submit@debbugs.gnu.org; Fri, 30 Sep 2016 14:21:48 -0400 Original-Received: from mail-ua0-f178.google.com ([209.85.217.178]:32884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bq2RN-0008U7-R6 for 24500@debbugs.gnu.org; Fri, 30 Sep 2016 14:21:46 -0400 Original-Received: by mail-ua0-f178.google.com with SMTP id v7so27221559uaa.0 for <24500@debbugs.gnu.org>; Fri, 30 Sep 2016 11:21:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=EUWZxVLzqymwndeLAVHgvQj714vkU81gVniFCh/WnOA=; b=MVxiUF/lrul9DPAyfxEl3XskXzNI0m1t3jsXB54lY7ztXpGcdVPVM5172Frfuf3SFD DdNw55ZO83h9OazVsXdfSUaYZh+fsiK/TxMAsP70lvprK0JoDD92B4ULFdMn/XAONBTd DJdNk4cozf+740VdqEXVg4cZHfm3tN++MjmPVQZ7K57sQOXqF7WqEd7wSN5YXYUCTO1y qstRg+ethIYmN2Sm0DJ4u3yQzESMC66jsMAd38la1fhLEoLw5JX4pMGxeNxWykhwKA/K tyJ36Uf+vfUQDU+ZnsEPI750XQbSqGjuu2VQV3JuNqXh30IXIsWUNUUJvGnLQeOawtra GNZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=EUWZxVLzqymwndeLAVHgvQj714vkU81gVniFCh/WnOA=; b=Pr/sgAQewdocxE2LUBy2GZPR4Lol9e8+Z96TffLeksNjjmh0kMnpynhhX4qFBzID7M H0Ou+hGd3D4L+8N5FcADpZ4k4UyFAha7gk+oi/NjlJx3lXN9o1GxI94In/y3TNdpLUik +OjMLVLG8I3MsGmHGJAETT/T5oZjjmd/gLOTp8r9Hs5TUiBz4Eq3LQXw+YXnQld1f+Fv IukiJkvV63ryQSnbaVHseDX7gA2V+Wobg4XmTSYkFKBK6TJGzi6YKK97xiCAXIrmMU+i Uvx0SFkcMElm98JW3BvtHrUEpq9+8kYnobn0Y90OR/OJnBqDVSqSRaRfiJAjY9JFPYIp pwcg== X-Gm-Message-State: AA6/9RlU8a3/hQMQ+dgsd96eVyQj3xgoJZFNLW0PSVSPvKkmYTWZ7ZtOJwtgiLsohcKujSKKJC0skNERUPIOww== X-Received: by 10.176.5.233 with SMTP id e96mr6165508uae.91.1475259700387; Fri, 30 Sep 2016 11:21:40 -0700 (PDT) Original-Received: by 10.159.40.1 with HTTP; Fri, 30 Sep 2016 11:21:09 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:123795 Archived-At: On 30 September 2016 at 19:13, Richard Copley wrote: > On 30 September 2016 at 09:32, martin rudalics wrote: >>> With patch (1) the focus can get stuck. Having saved the "my-other-window" >>> example above as "x.el", from "emacs -Q", >>> >>> M-x load-file RET x.el RET ;; Creates and selects a minibuffer-less frame. >>> ;; Call the initial frame "frame 1" and the minibuffer-less frame "frame >>> 2". >>> C-x b window2 RET ;; Select named window in frame 2 for clarity. >>> C-x 5 o ;; Switch to frame 1 >>> M-x >>> C-x 5 o ;; Switch to frame 2 >>> C-x o ;; Select window *scratch* in frame 1. >>> C-x o ;; Select minibuffer. >>> C-g ;; Quit M-x >>> ;; Selected frame is frame 2 >> >> Why do you think so? The selected frame is frame 1 ever since C-x o >> selected it (and it did so twice in a row). > > OK, then I now realize I have no idea what "selected frame" means. > The fact I was attempting to express is that the activated window > at the window-manager level is frame 2. > >>> and selected window in frame 2 is "window2", >>> ;; but focus is still redirected to frame 1 (selected window now >>> "*scratch*"). >>> xyzzy ;; Characters are inserted in *scratch*. >>> >>> No amount of switching between frames 1 and 2 changes the focus >>> redirection, >> >> I'm not sure I understand what you mean here. Do you mean that C-x 5 o >> after the C-g does not select window2? > > I'd better assume that I don't know what "select window2" means either. > > I mean that the window with the solid flashing cursor where text is inserted > when you type characters is window2, Not window2, sorry. Rather, it's the window displaying *scratch* on frame 1. > and that can't be changed by > typing Alt-Tab (which on this Windows system is not passed to Emacs but > activates a different window), nor by clicking on the non-client area of frame > 1. > > In fact I hadn't tried C-x 5 o. That does fix things. > >>> but clicking inside a window on frame 2 does remove >>> the redirection and get things back to normal. > >> What was abnormal before? > > I have no idea what's normal and what isn't any more :) > > I had expected activating frame 2 (using the window manager) to let me > type characters into window2. > >>> I'll try patch (2) later. It sounds logical to me. >> >> martin