unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 22068@debbugs.gnu.org
Subject: bug#22068: 25.0.50; Delayed reaction to switching frames?
Date: Wed, 02 Dec 2015 09:41:23 +0100	[thread overview]
Message-ID: <87h9k1s0ng.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <565EAA66.70002@gmx.at> (martin rudalics's message of "Wed, 02 Dec 2015 09:23:02 +0100")

martin rudalics <rudalics@gmx.at> 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





  reply	other threads:[~2015-12-02  8:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-01 17:00 bug#22068: 25.0.50; Delayed reaction to switching frames? David Kastrup
2015-12-02  8:23 ` martin rudalics
2015-12-02  8:41   ` David Kastrup [this message]
2015-12-02 10:05     ` martin rudalics
2015-12-02 13:49       ` Eli Zaretskii
2015-12-02 17:44         ` martin rudalics
2015-12-02 17:56           ` Eli Zaretskii
2015-12-02 18:11             ` martin rudalics
2015-12-02 19:58               ` David Kastrup
2015-12-03  7:23                 ` Eli Zaretskii
2015-12-03  7:41                   ` David Kastrup
2015-12-03  7:52                     ` Eli Zaretskii
2015-12-03  6:51               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h9k1s0ng.fsf@fencepost.gnu.org \
    --to=dak@gnu.org \
    --cc=22068@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).