From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.bugs Subject: bug#22068: 25.0.50; Delayed reaction to switching frames? Date: Wed, 02 Dec 2015 09:41:23 +0100 Message-ID: <87h9k1s0ng.fsf@fencepost.gnu.org> References: <87lh9et87o.fsf@fencepost.gnu.org> <565EAA66.70002@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1449045737 30488 80.91.229.3 (2 Dec 2015 08:42:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Dec 2015 08:42:17 +0000 (UTC) Cc: 22068@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 02 09:42:08 2015 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 1a42zI-0004Pw-8s for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Dec 2015 09:42:08 +0100 Original-Received: from localhost ([::1]:56968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a42zH-0000yr-59 for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Dec 2015 03:42:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a42zD-0000yQ-D4 for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 03:42:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a42zC-0006pP-Ea for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 03:42:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a42zC-0006pH-BA for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 03:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a42zC-0001G9-65 for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 03:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: David Kastrup Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Dec 2015 08:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22068 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22068-submit@debbugs.gnu.org id=B22068.14490456884789 (code B ref 22068); Wed, 02 Dec 2015 08:42:02 +0000 Original-Received: (at 22068) by debbugs.gnu.org; 2 Dec 2015 08:41:28 +0000 Original-Received: from localhost ([127.0.0.1]:35609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a42ye-0001FB-93 for submit@debbugs.gnu.org; Wed, 02 Dec 2015 03:41:28 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37682) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a42yb-0001F1-OR for 22068@debbugs.gnu.org; Wed, 02 Dec 2015 03:41:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a42ya-0006fY-AZ for 22068@debbugs.gnu.org; Wed, 02 Dec 2015 03:41:25 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a42ya-0006fT-8J; Wed, 02 Dec 2015 03:41:24 -0500 Original-Received: from localhost ([127.0.0.1]:44378 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1a42yZ-0005sS-Mn; Wed, 02 Dec 2015 03:41:24 -0500 Original-Received: by lola (Postfix, from userid 1000) id 5066FDF5D2; Wed, 2 Dec 2015 09:41:23 +0100 (CET) In-Reply-To: <565EAA66.70002@gmx.at> (martin rudalics's message of "Wed, 02 Dec 2015 09:23:02 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109522 Archived-At: martin rudalics writes: >> I cannot absolutely vouch that the window manager setting "sloppy" >> (which can be selected with gnome-tweak-tool) is innocent of the >> problem. But there are no delay settings to select. > > Did you try with "mouse" or whatever you have to remove focus from a > frame when the mouse leaves it? > > Not that I think it would change anything ... Well, it would make the timing of the focus change slightly earlier. Not likely early enough. Let me try. No, doesn't help. I mean, when moving the mouse over, it still takes half a second for the frame highlighting to change, indicating the changed focus from the view of the window manager (I guess). So I cannot vouch that the window manager isn't involved in the delayed frame switch. And indeed: the strange switch-frame- keyboard echo as a reply to the "changed on disk; really edit the buffer?" prompt in connection with the minibuffer (and actual keyboard focus) staying in the old frame in spite of the mouse pointer and the focus highlighting having moved over: that remains the same even if I keep the apparently perceived order of events: I cannot switch frames in reply to the "really edit the buffer" prompt. If I answer (with focus in the old frame and mouse pointer in the new frame) "n" to that question, the error message "xxx: changed on disk" then appears in the new frame, and so does the focus. So while the delayed switch may or may not be Emacs' fault, the annoying effect of not reacting to the frame change as long as the prompt is active does not depend on the timing of the switch. -- David Kastrup