GNU bug report logs - #22068
25.0.50; Delayed reaction to switching frames?

Previous Next

Package: emacs;

Reported by: David Kastrup <dak <at> gnu.org>

Date: Tue, 1 Dec 2015 17:01:02 UTC

Severity: normal

Found in version 25.0.50

Full log


Message #23 received at 22068 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 22068 <at> debbugs.gnu.org, dak <at> gnu.org
Subject: Re: bug#22068: 25.0.50; Delayed reaction to switching frames?
Date: Wed, 02 Dec 2015 19:56:18 +0200
> Date: Wed, 02 Dec 2015 18:44:10 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: dak <at> gnu.org, 22068 <at> debbugs.gnu.org
> 
>  > 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?
> 
> When I do a simple (y-or-no-p "") in a single frame emacs -Q and click
> the left mouse button, it also gets echoed as "down-mouse-1".  But this
> echo disappears almost instantaneously.  With two frames and a click in
> the "wrong" frame the echo is persistent.

The function in question doesn't call y-or-no-p, AFAICT.

When I call the function it does call, that call does not return if it
gets switch-frame events.  IOW, the function that asks the question
doesn't know the frame was switched, and cannot do what David probably
wants: switch frame and reissue the question.




This bug report was last modified 9 years and 196 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.