From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Unfreezing the display during auto-repeated scrolling. Simpler approach. Date: Fri, 31 Oct 2014 10:04:08 -0400 Message-ID: References: <83y4s1317s.fsf@gnu.org> <20141027193839.GD2771@acm.acm> <20141028181003.GA6630@acm.acm> <83wq7j0xqj.fsf@gnu.org> <20141029145211.GB2953@acm.acm> <20141029212525.GD2953@acm.acm> <20141030220919.GB2721@acm.acm> <83oasszn9e.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414772494 30944 80.91.229.3 (31 Oct 2014 16:21:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2014 16:21:34 +0000 (UTC) Cc: acm@muc.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 31 17:21:26 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 1XkEx1-0006Ly-3Q for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2014 17:21:23 +0100 Original-Received: from localhost ([::1]:38849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkEx0-0001FP-KW for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2014 12:21:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkDh5-0001aO-Aj for emacs-devel@gnu.org; Fri, 31 Oct 2014 11:00:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkCoM-0006Ni-RK for emacs-devel@gnu.org; Fri, 31 Oct 2014 10:04:26 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:55241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkCoF-0005uB-2B; Fri, 31 Oct 2014 10:04:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au4MAOatTlRFpY87/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAwEBAwFWIwULCzQSFBgNJIhLCctyAQEBBwIBH5EIB4RLAQSyIIFvhBQhgnoBAQE X-IPAS-Result: Au4MAOatTlRFpY87/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAwEBAwFWIwULCzQSFBgNJIhLCctyAQEBBwIBH5EIB4RLAQSyIIFvhBQhgnoBAQE X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="95664248" Original-Received: from 69-165-143-59.dsl.teksavvy.com (HELO pastel.home) ([69.165.143.59]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 31 Oct 2014 10:04:08 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id B5EC662BA; Fri, 31 Oct 2014 10:04:08 -0400 (EDT) In-Reply-To: <83oasszn9e.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 31 Oct 2014 09:55:41 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:176077 Archived-At: >> That's the question, indeed. Maybe we could simply move the >> `input-pending' test so it's done before running the command. I.e. if >> there was no input pending when the command started, then don't skip >> the redisplay. > I hope the intent is that this behavior will be optional, and by > default turned off. The jit-lock-defer-if-input-pending will be optional (and disabled by default). OTOH I think the above tweak to the "don't redisplay if input pending" rule might not even need such a config var. > If not, I'm going to object to such a change. I'm not dead set on foisting this tweak on every user without even letting them opt out. Hell, I don't even know if it will do what I want it to do. But at least, I don't see any obvious significant downside to it. Stefan