From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Aborting display. Is this possible? Date: Tue, 21 Oct 2014 18:25:20 +0000 Message-ID: <20141021182520.GC3035@acm.acm> References: <20141019141712.GB3197@acm.acm> <83lhoccdv7.fsf@gnu.org> <20141019154255.GC3197@acm.acm> <83egu4c4om.fsf@gnu.org> <20141020110949.GA2947@acm.acm> <8338aidbcq.fsf@gnu.org> <20141020185757.GD2947@acm.acm> <83lhoabl2x.fsf@gnu.org> <20141020210819.GE2947@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1413916000 1239 80.91.229.3 (21 Oct 2014 18:26:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2014 18:26:40 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Michael Welsh Duggan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 21 20:26:33 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 1Xge8f-0007mp-Dg for ged-emacs-devel@m.gmane.org; Tue, 21 Oct 2014 20:26:33 +0200 Original-Received: from localhost ([::1]:52932 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xge8f-0005Ry-0n for ged-emacs-devel@m.gmane.org; Tue, 21 Oct 2014 14:26:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xge8M-0005RB-Bq for emacs-devel@gnu.org; Tue, 21 Oct 2014 14:26:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xge8C-0000jl-TE for emacs-devel@gnu.org; Tue, 21 Oct 2014 14:26:14 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:10803 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xge8C-0000jV-IH for emacs-devel@gnu.org; Tue, 21 Oct 2014 14:26:04 -0400 Original-Received: (qmail 3433 invoked by uid 3782); 21 Oct 2014 18:26:01 -0000 Original-Received: from acm.muc.de (pD9519421.dip0.t-ipconnect.de [217.81.148.33]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 21 Oct 2014 20:26:00 +0200 Original-Received: (qmail 5027 invoked by uid 1000); 21 Oct 2014 18:25:20 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-Received-From: 193.149.48.1 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:175661 Archived-At: Hi, Michael. On Tue, Oct 21, 2014 at 01:00:46PM -0400, Michael Welsh Duggan wrote: > Alan Mackenzie writes: > > I'd posit that the absolute correctness isn't all that important after an > > auto-repeating PageDown. For an individual PageDown keystroke, the > > fontification and scrolling would be done accurately as now. > Please be careful. If you were to change things such that C-v might > scroll heuristically instead of "correctly", please make sure this > behavior is controlled by a configuration value. Don't worry. What I'm proposing would only kick in on an auto-repeat C-v. The test would be whether or not another event is in the event queue, and if so, to bypass the font-locking until display happens. This wouldn't affect a single C-v. > When I am trying to recreate cc-mode problems in order to make bug > reports, it is very important that I can recreate the problem exactly. > It would be very strange if C-v run manually ended up in a different > location than C-v in a macro, for example. That is an important use case indeed. ;-) > -- > Michael Welsh Duggan > (mwd@cert.org) -- Alan Mackenzie (Nuremberg, Germany).