From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#12450: Remove configure's --without-sync-input option. Date: Sun, 16 Sep 2012 14:37:42 -0400 Message-ID: References: <50543449.1070306@cs.ucla.edu> <83k3vvtyw0.fsf@gnu.org> <5054551A.1070207@cs.ucla.edu> <83k3vuse9p.fsf@gnu.org> <83pq5mq8dm.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347820677 16641 80.91.229.3 (16 Sep 2012 18:37:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Sep 2012 18:37:57 +0000 (UTC) Cc: lekktu@gmail.com, eggert@cs.ucla.edu, 12450@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 16 20:38:00 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 1TDJjE-00079J-8I for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Sep 2012 20:38:00 +0200 Original-Received: from localhost ([::1]:51028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDJjA-00088c-7a for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Sep 2012 14:37:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDJj7-00088M-Mm for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2012 14:37:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDJj6-0001UL-P9 for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2012 14:37:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDJj6-0001UG-LX for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2012 14:37:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TDJkD-0005eU-ME for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2012 14:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Sep 2012 18:39:01 +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.134782073921708 (code B ref 12450); Sun, 16 Sep 2012 18:39:01 +0000 Original-Received: (at 12450) by debbugs.gnu.org; 16 Sep 2012 18:38:59 +0000 Original-Received: from localhost ([127.0.0.1]:37522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDJkB-0005dx-1I for submit@debbugs.gnu.org; Sun, 16 Sep 2012 14:38:59 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:12585) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDJk6-0005dk-3N for 12450@debbugs.gnu.org; Sun, 16 Sep 2012 14:38:56 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09MCqrs/2dsb2JhbABEtBGBCIIVAQEEAVYjEAs0EhQYDSSIHAW6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="198460631" Original-Received: from 76-10-170-236.dsl.teksavvy.com (HELO pastel.home) ([76.10.170.236]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 16 Sep 2012 14:37:42 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 4B4325944B; Sun, 16 Sep 2012 14:37:42 -0400 (EDT) In-Reply-To: <83pq5mq8dm.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 16 Sep 2012 18:45:25 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) 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:64439 Archived-At: >> > Could you please describe how the SYNC_INPUT code is supposed to work >> > in the following situations: >> > . keyboard input on a TTY that comes while Lisp is running >> > . an X event that exposes an Emacs frame in a GUI session, coming >> > while Lisp is running >> - The keyboard input or the X event causes a signal to be delivered. > Which signals are those, specifically? I'm not familiar enough to be sure (I changed the code of the signal handler, but not the code that sets it up), but I think it's SIGIO (basically, both the tty and the X11 code end up having a file-descriptor on which inputs arrive, and the code sets up this file-descriptor so that the kernel sends us a signal when input is ready). >> - QUIT processes the pending signals which will read the (keyboard/X11) >> input and turn it in an event in the event queue (so input-pending-p >> will know something has arrived), it may also do some more processing >> such as redraw the window if the GUI needs it. Currently it also >> handles things like mouse-face highlighting. > Perhaps you could update the relevant portions in the commentary at > the beginning of xdisp.c, as they tell a somewhat different story > (probably about a soon-to-become-extinct non-SYNC_INPUT mode). I'll try and take a look, thanks. Stefan