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: The unwarranted scrolling assumption Date: Thu, 17 Jun 2010 00:22:41 +0300 Message-ID: <83sk4misf2.fsf@gnu.org> References: <87ocfcj7r4.fsf@mail.jurta.org> <87631jvpzg.fsf@gmail.com> <4C18211C.3070106@harpegolden.net> <87vd9j5neu.fsf@kfs-lx.rd.rdm> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1276723471 31360 80.91.229.12 (16 Jun 2010 21:24:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Jun 2010 21:24:31 +0000 (UTC) Cc: david@harpegolden.net, storm@cua.dk, emacs-devel@gnu.org, no-spam@cua.dk To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 16 23:24:27 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 1OP05z-00066L-BD for ged-emacs-devel@m.gmane.org; Wed, 16 Jun 2010 23:24:27 +0200 Original-Received: from localhost ([127.0.0.1]:38339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OP05y-00066l-HK for ged-emacs-devel@m.gmane.org; Wed, 16 Jun 2010 17:24:26 -0400 Original-Received: from [140.186.70.92] (port=37980 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OP04v-0005II-OW for emacs-devel@gnu.org; Wed, 16 Jun 2010 17:23:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OP04q-0001Xf-9C for emacs-devel@gnu.org; Wed, 16 Jun 2010 17:23:20 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:61459) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OP04q-0001XP-2S for emacs-devel@gnu.org; Wed, 16 Jun 2010 17:23:16 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L4400A00M0FAD00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Thu, 17 Jun 2010 00:22:38 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.88.125]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L44003DVM1O5HG0@a-mtaout20.012.net.il>; Thu, 17 Jun 2010 00:22:37 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:126035 Archived-At: > From: Lennart Borgman > Date: Wed, 16 Jun 2010 19:35:53 +0200 > Cc: "Kim F. Storm" , emacs-devel@gnu.org, > David De La Harpe Golden > > I looked around a bit and it looks like perhaps clip_changed is the > problem, but I am not sure. Save-restriction and friends sets this to > 1. > > redisplay_window checks this somewhere around line 14500 where the > comment says "Try to scroll by specified few lines". If clip_changed > is set then the if arg will be 0 and the "jumping scrolling" will > happen. At least that is how I understand it at the moment. I'm not sure this is the problem. Can you step through try_scrolling in the case that "jumping scrolling" happens, and tell what it does in that case and what value it returns?