From: David Kastrup <dak@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 22068@debbugs.gnu.org
Subject: bug#22068: 25.0.50; Delayed reaction to switching frames?
Date: Thu, 03 Dec 2015 08:41:32 +0100 [thread overview]
Message-ID: <874mg0x9lf.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <83y4dchu71.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 03 Dec 2015 09:23:14 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: David Kastrup <dak@gnu.org>
>> Cc: Eli Zaretskii <eliz@gnu.org>, 22068@debbugs.gnu.org
>> Date: Wed, 02 Dec 2015 20:58:10 +0100
>>
>> >> 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.
>> >
>> > OK. But how can we get rid of that "switch-frame-" echo at least?
>>
>> If the function is not supposed to return switch-frame events, why
>> doesn't it _act_ on them then?
>
> According to documentation, it does act on them, only later:
>
> Optional fourth argument CAN-RETURN-SWITCH-FRAME non-nil means that
> this function will process a switch-frame event if the user switches
> frames before typing anything. If the user switches frames in the
> middle of a key sequence, or at the start of the sequence but
> CAN-RETURN-SWITCH-FRAME is nil, then the event will be put off until
> after the current key sequence.
Well, the resulting user experience makes the impression of Emacs
dragging its internals behind while it staggers on. When the desktop
environment already heeded and signaled a focus change, choosing a
behavior where Emacs does not act on it is likely to break the visual
feedback between what the user is doing and what Emacs is doing (how
about changes of virtual desktops?). The spurious keyboard half-echo of
the frame switch event is just the cherry on top.
--
David Kastrup
next prev parent reply other threads:[~2015-12-03 7: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
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 [this message]
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=874mg0x9lf.fsf@fencepost.gnu.org \
--to=dak@gnu.org \
--cc=22068@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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).