From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Aborting display. Is this possible? Date: Sun, 19 Oct 2014 17:54:25 +0300 Message-ID: <83k33wcdpa.fsf@gnu.org> References: <20141019141712.GB3197@acm.acm> <87siikruyh.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1413730565 27520 80.91.229.3 (19 Oct 2014 14:56:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Oct 2014 14:56:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 19 16:55:58 2014 Return-path: Envelope-to: ged-emacs-devel@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 1Xfrtj-0005ou-Hv for ged-emacs-devel@m.gmane.org; Sun, 19 Oct 2014 16:55:55 +0200 Original-Received: from localhost ([::1]:40293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xfrtj-0004AX-9O for ged-emacs-devel@m.gmane.org; Sun, 19 Oct 2014 10:55:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xfrsh-0003Gz-I2 for emacs-devel@gnu.org; Sun, 19 Oct 2014 10:54:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xfrsb-0007zc-Lv for emacs-devel@gnu.org; Sun, 19 Oct 2014 10:54:51 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:57817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfrsU-0007xc-BR; Sun, 19 Oct 2014 10:54:38 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NDP00B004U0HI00@mtaout24.012.net.il>; Sun, 19 Oct 2014 17:48:04 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NDP001QN544GCA0@mtaout24.012.net.il>; Sun, 19 Oct 2014 17:48:04 +0300 (IDT) In-reply-to: <87siikruyh.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.180 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:175563 Archived-At: > From: David Kastrup > Date: Sun, 19 Oct 2014 16:32:38 +0200 > > One possible way to deal with this is not to read characters while > redisplay is being processed We already do that, since both keyboard input and redisplay happen in the same thread. The problem is that auto-repeat leaves just enough time between the repeated keystrokes for redisplay to kick in. If auto-repeat would send many keys in one large block, we would process them all before attempting to redisplay.