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: Sun, 16 Sep 2012 18:45:25 +0300 Message-ID: <83pq5mq8dm.fsf@gnu.org> References: <50543449.1070306@cs.ucla.edu> <83k3vvtyw0.fsf@gnu.org> <5054551A.1070207@cs.ucla.edu> <83k3vuse9p.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1347810361 4025 80.91.229.3 (16 Sep 2012 15:46:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Sep 2012 15:46:01 +0000 (UTC) Cc: lekktu@gmail.com, eggert@cs.ucla.edu, 12450@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 16 17:46: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 1TDH2m-0005A2-Lk for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Sep 2012 17:46:00 +0200 Original-Received: from localhost ([::1]:52273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDH2i-0006zv-D4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Sep 2012 11:45:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDH2g-0006zm-Bf for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2012 11:45:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDH2f-0008I4-6Y for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2012 11:45:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDH2f-0008I0-2g for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2012 11:45:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TDH3m-0008MC-29 for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2012 11:47: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: Sun, 16 Sep 2012 15:47: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.134781040932103 (code B ref 12450); Sun, 16 Sep 2012 15:47:02 +0000 Original-Received: (at 12450) by debbugs.gnu.org; 16 Sep 2012 15:46:49 +0000 Original-Received: from localhost ([127.0.0.1]:37379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDH3Z-0008Li-4v for submit@debbugs.gnu.org; Sun, 16 Sep 2012 11:46:49 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:35048) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDH3X-0008Lb-Lq for 12450@debbugs.gnu.org; Sun, 16 Sep 2012 11:46:48 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MAG00F00939Z600@a-mtaout22.012.net.il> for 12450@debbugs.gnu.org; Sun, 16 Sep 2012 18:45:22 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MAG00FRW93KPXA0@a-mtaout22.012.net.il>; Sun, 16 Sep 2012 18:45:21 +0300 (IDT) In-reply-to: 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:64430 Archived-At: > From: Stefan Monnier > Cc: eggert@cs.ucla.edu, lekktu@gmail.com, 12450@debbugs.gnu.org > Date: Sun, 16 Sep 2012 10:58:41 -0400 > > > 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? > - 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). > So SYNC_INPUT basically delays the processing of incoming signals from > "run it at any time" to "run it at the next safe point" where a safe > point is defined as "a point where we call QUIT". "QUIT" can also be > understood as a sibling of "yield". > > Does that answer your question? It's a beginning, thanks.