From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12450: Remove configure's --without-sync-input option. Date: Mon, 17 Sep 2012 10:41:25 +0300 Message-ID: <83k3vtqeoq.fsf@gnu.org> References: <50543449.1070306@cs.ucla.edu> <50554458.6040308@cs.ucla.edu> <83haqysdko.fsf@gnu.org> <50558C80.4080408@cs.ucla.edu> <5055A163.2070600@dancol.org> <831ui2s0vx.fsf@gnu.org> <5055B054.5090302@dancol.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1347867726 10956 80.91.229.3 (17 Sep 2012 07:42:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2012 07:42:06 +0000 (UTC) Cc: lekktu@gmail.com, eggert@cs.ucla.edu, rms@gnu.org, 12450@debbugs.gnu.org To: Daniel Colascione Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 17 09:42:09 2012 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 1TDVy4-0005hq-BD for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Sep 2012 09:42:08 +0200 Original-Received: from localhost ([::1]:35930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDVxz-0003Fk-QZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Sep 2012 03:42:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDVxs-0003FO-BK for bug-gnu-emacs@gnu.org; Mon, 17 Sep 2012 03:42:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDVxl-0004PY-RS for bug-gnu-emacs@gnu.org; Mon, 17 Sep 2012 03:41:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDVxl-0004PU-Nv for bug-gnu-emacs@gnu.org; Mon, 17 Sep 2012 03:41:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TDVyw-0002ta-AB for bug-gnu-emacs@gnu.org; Mon, 17 Sep 2012 03:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Sep 2012 07:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12450 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12450-submit@debbugs.gnu.org id=B12450.134786777411115 (code B ref 12450); Mon, 17 Sep 2012 07:43:02 +0000 Original-Received: (at 12450) by debbugs.gnu.org; 17 Sep 2012 07:42:54 +0000 Original-Received: from localhost ([127.0.0.1]:38282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDVyo-0002tD-4p for submit@debbugs.gnu.org; Mon, 17 Sep 2012 03:42:54 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:40338) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDVyk-0002t3-TQ for 12450@debbugs.gnu.org; Mon, 17 Sep 2012 03:42:52 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MAH00100HBVIC00@a-mtaout22.012.net.il> for 12450@debbugs.gnu.org; Mon, 17 Sep 2012 10:41:19 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MAH001GBHCV96A0@a-mtaout22.012.net.il>; Mon, 17 Sep 2012 10:41:19 +0300 (IDT) In-reply-to: <5055B054.5090302@dancol.org> X-012-Sender: halo1@inter.net.il 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 (newer, 2) 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:64507 Archived-At: > Date: Sun, 16 Sep 2012 03:56:20 -0700 > From: Daniel Colascione > CC: eggert@cs.ucla.edu, lekktu@gmail.com, rms@gnu.org, > 12450@debbugs.gnu.org > > >> There might be a few lurking bugs, however: one thing that stands > >> out is that w32term.c, unlike xterm.c, sets interrupt_input_pending, > >> but doesn't set pending_signals. > > > > Please tell the details about this. > > > > I'm still not sure what practical effect this omission would have --- > on quit, we set Vquit_flag to Qt from the input thread. When Lisp code > is running, QUIT picks up the non-nilness of Vquit_flag and quits. The > ELSE_PENDING_SIGNALS branch doesn't apply, so we're able to > successfully quit. I added setting pending_signals, it doesn't seem to do any harm, and playing by the rules has its merit. > While testing, I ran into a different bug. I'm able to reproduce it on > the regular w32 build too. Can someone try reproing it with 1) M-: > (while t) RET, 2) click the menu bar [menu won't appear], 3) C-g, 4) > typing something? Emacs doesn't seem to respond to typed input. > Clicking in the Emacs window unblocks everything. Yes, I see this also. There's a long comment about this in w32fns.c around line 2550. I'm not sure if there's a way to unlock responses to keyboard input in this scenario; ideas welcome.