From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: The unwarranted scrolling assumption Date: Wed, 16 Jun 2010 02:39:48 +0200 Message-ID: References: <87ocfcj7r4.fsf@mail.jurta.org> <87631jvpzg.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1276648819 2624 80.91.229.12 (16 Jun 2010 00:40:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Jun 2010 00:40:19 +0000 (UTC) Cc: Juanma Barranquero , Sean Sieger , emacs-devel@gnu.org To: Chad Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 16 02:40:17 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OOgfx-00057Z-8d for ged-emacs-devel@m.gmane.org; Wed, 16 Jun 2010 02:40:17 +0200 Original-Received: from localhost ([127.0.0.1]:37979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOgfw-0003w7-M4 for ged-emacs-devel@m.gmane.org; Tue, 15 Jun 2010 20:40:16 -0400 Original-Received: from [140.186.70.92] (port=49013 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOgfq-0003tB-Qv for emacs-devel@gnu.org; Tue, 15 Jun 2010 20:40:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOgfp-0000eO-7C for emacs-devel@gnu.org; Tue, 15 Jun 2010 20:40:10 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:46193) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOgfp-0000eG-1U for emacs-devel@gnu.org; Tue, 15 Jun 2010 20:40:09 -0400 Original-Received: by gyg4 with SMTP id 4so4393051gyg.0 for ; Tue, 15 Jun 2010 17:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=lHTllEI71OmjcpBvg8Vp5x5udX/yZs1Q448JtHhBJLo=; b=ZCpmlzleR4vBzClf/gnz68TC++eUYtSjmY5Is2dqEiG/uW/VRN+eguE2IV672G+Lhx BrPl7SIfsw2262KQHZsLIX/3UrT7x7iGy4xZQsygOnnlaBFk9ZpPZgatoZqMabXxJ99h FUamMl1KPuYewnJpmCZskWFTlx/+PvQb4DNYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=ZfAlHBAJv2ZkLLRHnwbbqIU7JJCaGNx4DS/YAEaGFLTpQ9H27kbBqzmLsI5T11pwEj HzOX0lLluQNAN9B8jTlPHpgYmcLyAUlF4NK0MKkSDAaUbxbi+/x5mO9omJ40Eo6blAwl H00UQ1eM/ET+k5nz4UAuQ4qcwXGyOG2jif2OM= Original-Received: by 10.101.113.14 with SMTP id q14mr1056231anm.188.1276648808111; Tue, 15 Jun 2010 17:40:08 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Tue, 15 Jun 2010 17:39:48 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125984 Archived-At: On Wed, Jun 16, 2010 at 2:29 AM, Chad Brown wrote: > > On Jun 15, 2010, at 4:59 PM, Lennart Borgman wrote: > > All I do to check this is open window.c and then hit/hold down the > down arrow key (or "j" in viper). > > Does this work without "jumping scrolling" for you? (You have to test > for a while, the jumping does not happen always. I is a bit like > playing a computer game.) > > This can be a function of computer speed -- the settings make emacs try to > keep up the scrolling, but if the cursor motion gets ahead of the scrolling, > it chooses to jump-scroll rather than silently eating the scrolling. > Caveat: this is my `basic' understanding; I haven't tested exactly these > settings. I think you are right, it seems to be working that way. > What would you like Emacs to do, conceptually, if you move down lines faster > than the display engine can redraw them? I think it would be better if Emacs just skipped redrawing and then come back to correct output as it would look if it had been able to redraw everything in time. If it worked that way you could much more easily understand what is happening (especially for the case when you are not looking at the point where the cursor is). You could then just pause and wait if you noticed that Emacs was behind. There would be no big surprises. Is there perhaps already an option for this type of scrolling behavior? > I assume `scroll less' and `error' > are both obvious non-starters, so I'm guessing that you would want emacs to > remain syncronous, even if it meant being unresponsive in a > scroll-redraw-repeat loop; is that correct? Conceptually synchronous, but it could skip to redraw some pictures. Looking at it this way I wonder if there is a bug/weakness in the display engine that prevents it from interrupting a display that has not been finished. Anyone knows about that? > *Chad