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#22068: 25.0.50; Delayed reaction to switching frames? Date: Wed, 02 Dec 2015 15:49:11 +0200 Message-ID: <83fuzlj6zs.fsf@gnu.org> References: <87lh9et87o.fsf@fencepost.gnu.org> <565EAA66.70002@gmx.at> <87h9k1s0ng.fsf@fencepost.gnu.org> <565EC271.1030201@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1449064248 9397 80.91.229.3 (2 Dec 2015 13:50:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Dec 2015 13:50:48 +0000 (UTC) Cc: 22068@debbugs.gnu.org, dak@gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 02 14:50:33 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 1a47nR-0002nM-OP for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Dec 2015 14:50:13 +0100 Original-Received: from localhost ([::1]:58175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a47nQ-0001Ld-Qb for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Dec 2015 08:50:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a47nM-0001Iz-Th for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 08:50:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a47nH-0004XJ-UK for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 08:50:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a47nH-0004XF-Pq for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 08:50:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a47nH-0003NY-9v for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 08:50:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Dec 2015 13:50:03 +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.144906419312967 (code B ref 22068); Wed, 02 Dec 2015 13:50:03 +0000 Original-Received: (at 22068) by debbugs.gnu.org; 2 Dec 2015 13:49:53 +0000 Original-Received: from localhost ([127.0.0.1]:35819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a47n6-0003N4-Lr for submit@debbugs.gnu.org; Wed, 02 Dec 2015 08:49:53 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:46663) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a47mm-0003MZ-BX for 22068@debbugs.gnu.org; Wed, 02 Dec 2015 08:49:51 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NYQ00K00GCOM500@a-mtaout22.012.net.il> for 22068@debbugs.gnu.org; Wed, 02 Dec 2015 15:49:11 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYQ00KI0H1YO510@a-mtaout22.012.net.il>; Wed, 02 Dec 2015 15:49:11 +0200 (IST) In-reply-to: <565EC271.1030201@gmx.at> X-012-Sender: halo1@inter.net.il 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:109528 Archived-At: > Date: Wed, 02 Dec 2015 11:05:37 +0100 > From: martin rudalics > Cc: 22068@debbugs.gnu.org > > > 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. > > I just tried with xfwm4. Here a focus_delay of 185 (ms I presume) > behaves as expected while a delay of 1850 shows the behavior you > describe. > > > And indeed: the strange switch-frame- keyboard echo > > ... which happens also when the prompt appears in the frame the mouse > moved to and I now move the mouse back to the other one - I always > wondered how to get rid of them ... > > > 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. > > All this seems very hardcoded in choose_minibuf_frame. Could this have something to do with the fact that read-char-choice calls read-key-sequence-vector with the CAN-RETURN-SWITCH-FRAME argument nil?