From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Sean McLaughlin <seanmcl@gmail.com>
Cc: Peter Szilagyi <pszilagyi@janestreet.com>, 13655@debbugs.gnu.org
Subject: bug#13655: 23.2; sit-for doesn't return on input in other X displays
Date: Thu, 21 Feb 2013 19:29:21 +0100 [thread overview]
Message-ID: <56D1FAA9-12B9-483D-8FE7-0626FC954A9A@swipnet.se> (raw)
In-Reply-To: <CAO4dZbc1wYuAOwFcR9SnE6Z7mFmMVNpAT097F=praGbfZ_OwsA@mail.gmail.com>
Hi.
20 feb 2013 kl. 17:45 skrev Sean McLaughlin <seanmcl@gmail.com>:
> Hi Jan,
>
> Thanks for helping! We have a workaround, but it's not ideal. The behavior is not the same as with sit-for, and we much prefer the later behavior. We are eager to get the fix in place whenever it's ready. If you have some ideas about how to fix it, we can attempt it ourselves as well. We'd definitely need some pointers into the code to help though.
>
call-interactively is in callint.c (around line 235). It calls temporarily_switch_to_single_kboard (keyboard.c:965) which sets single_kboard to 1.
read_char (keyboard.c:2260) checks single_kboard in many places.
In ths case it is line 2785, if input from another keyboard arrives it just jumps back to wrong_kboard: and keeps reading input, thus not exiting until input arrives from the correct keyboard.
That is about all I know. Just not calling temporarily_switch_to_single_kboard may solve this, but may have other side effects.
Jan D.
next prev parent reply other threads:[~2013-02-21 18:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-08 17:38 bug#13655: 23.2; sit-for doesn't return on input in other X displays Peter Szilagyi
2013-02-16 17:13 ` Jan Djärv
2013-02-20 16:42 ` Peter Szilagyi
2013-02-20 16:45 ` Sean McLaughlin
2013-02-21 18:29 ` Jan Djärv [this message]
2013-02-22 2:05 ` Stefan Monnier
2013-02-22 18:08 ` Sean McLaughlin
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56D1FAA9-12B9-483D-8FE7-0626FC954A9A@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=13655@debbugs.gnu.org \
--cc=pszilagyi@janestreet.com \
--cc=seanmcl@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.