From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs 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 Message-ID: <56D1FAA9-12B9-483D-8FE7-0626FC954A9A@swipnet.se> References: <6ie38x61zak.fsf@tot-qws-dev21.delacy.com> <8F01EC71-F731-4346-8E7F-07C515463B8E@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1361473273 11268 80.91.229.3 (21 Feb 2013 19:01:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Feb 2013 19:01:13 +0000 (UTC) Cc: Peter Szilagyi , 13655@debbugs.gnu.org To: Sean McLaughlin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 21 20:01:33 2013 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 1U8bOc-00016r-87 for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Feb 2013 20:01:30 +0100 Original-Received: from localhost ([::1]:46688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8bOG-0000t2-LH for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Feb 2013 14:01:08 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8auG-0002oY-6W for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 13:30:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8ats-0007lx-NI for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 13:29:54 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8ats-0007ls-Kt for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 13:29:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U8av8-0000Bn-1C for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2013 13:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Feb 2013 18:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13655-submit@debbugs.gnu.org id=B13655.1361471443693 (code B ref 13655); Thu, 21 Feb 2013 18:31:01 +0000 Original-Received: (at 13655) by debbugs.gnu.org; 21 Feb 2013 18:30:43 +0000 Original-Received: from localhost ([127.0.0.1]:42791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8aup-0000B8-0n for submit@debbugs.gnu.org; Thu, 21 Feb 2013 13:30:43 -0500 Original-Received: from mailout.melmac.se ([62.20.26.67]:59276) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8aum-0000Ax-LV for 13655@debbugs.gnu.org; Thu, 21 Feb 2013 13:30:41 -0500 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 2196E92BA for <13655@debbugs.gnu.org>; Thu, 21 Feb 2013 19:29:20 +0100 (CET) Original-Received: (qmail 27823 invoked by uid 89); 21 Feb 2013 18:29:19 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 21 Feb 2013 18:29:19 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 9AF1B7FA06C; Thu, 21 Feb 2013 19:29:19 +0100 (CET) In-Reply-To: X-Mailer: Apple Mail (2.1499) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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:71606 Archived-At: Hi. 20 feb 2013 kl. 17:45 skrev Sean McLaughlin : > Hi Jan, >=20 > 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. >=20 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.