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: Mon, 21 Jun 2010 14:23:41 +0200 Message-ID: References: <83ocf8gx7e.fsf@gnu.org> <83fx0jgxk7.fsf@gnu.org> <83eig3gspa.fsf@gnu.org> <83bpb7gp2g.fsf@gnu.org> <837hlvglvh.fsf@gnu.org> <834ogzglaj.fsf@gnu.org> <8339wjgg8w.fsf@gnu.org> <83y6eagb7g.fsf@gnu.org> <4C1D24E3.5080402@harpegolden.net> <87lja9fxuv.fsf@uwakimon.sk.tsukuba.ac.jp> <87vd9cd39o.fsf@uwakimon.sk.tsukuba.ac.jp> <87y6e8egaq.fsf@engster.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1277123053 11614 80.91.229.12 (21 Jun 2010 12:24:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Jun 2010 12:24:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 21 14:24:11 2010 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 1OQg2r-0005cl-KH for ged-emacs-devel@m.gmane.org; Mon, 21 Jun 2010 14:24:09 +0200 Original-Received: from localhost ([127.0.0.1]:57260 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQg2q-0006aQ-VM for ged-emacs-devel@m.gmane.org; Mon, 21 Jun 2010 08:24:09 -0400 Original-Received: from [140.186.70.92] (port=57543 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQg2l-0006aL-7y for emacs-devel@gnu.org; Mon, 21 Jun 2010 08:24:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQg2k-0003Sd-7V for emacs-devel@gnu.org; Mon, 21 Jun 2010 08:24:03 -0400 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:34282) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQg2k-0003ST-4L for emacs-devel@gnu.org; Mon, 21 Jun 2010 08:24:02 -0400 Original-Received: by yxd39 with SMTP id 39so120453yxd.0 for ; Mon, 21 Jun 2010 05:24:01 -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:content-type; bh=XCVEZFpUrvmWGa2isUF4EqkcVzppwkcOxkKdUF8pqG8=; b=Fk9Hh5+mRuTwx/bfrSJUlh+nnVuT33jcGxE7lc6NQmS8PKzGGxrpA1YC/zukoFGein 4s9ujRH8nwaPbmqUO5xe4UZh1Fl9sRc5lo58PUCCt3gOobEggTlWL+iErLaVC3tAd929 J/aMoUO31aERki0cUL8E0hKWH/tEhv7ZlqVWI= 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 :content-type; b=WNVksv8hDc2npDy2MIOYHqdYqL9gVRmdZuOJHHvl1pGPVXutRXtn5lJ0Zfsn0WLXC2 /uyMPJYW3eVDsbMKOREOxXvKQ19ZVnKK9gD1gc5wFw5jip0cFu/vaycnK0PGI1UVdJZ4 ki/3hQ2kIJR0jpLl1HdONj5NxOm7u+pnYQYyg= Original-Received: by 10.100.244.32 with SMTP id r32mr3727684anh.28.1277123041201; Mon, 21 Jun 2010 05:24:01 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Mon, 21 Jun 2010 05:23:41 -0700 (PDT) In-Reply-To: <87y6e8egaq.fsf@engster.org> 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:126304 Archived-At: On Mon, Jun 21, 2010 at 2:11 PM, David Engster wrote: > > I have recentering there, too, since my main problems pretty clearly > come from Emacs' redisplay not keeping up with keyboard input while > leaning on the key. This is supported by the fact that when I > rebind to '(progn (next-line) (redisplay t))', the recentering > practically disappears. I think that might be a misunderstanding. What is probably happening is rather that redisplay somehow resets the state of clip_changed. And that is needed. My patch does that without calling (redisplay t) which would be time consuming. > As far as I understood from this thread, neither > Eli's nor Lennart's patches will be able to fix this, since this is a > result of the basic design of the display engine. I am not sure my patch fixes this, but I have seen no problem with "jumping scrolling" when using it (but I have seen a problem with visual-line-mode that looks a bit similar on the surface, but is totally different). Something more may be hitting you but I believe my patch is any way needed. Since I do not have any clue if anything else hits you unless you test my patch I would be glad if you did. That could make some progress here and I could look into further problems too. Do you want to test my patch? In that case I will try to make a clean patch and send it here.