From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: The unwarranted scrolling assumption Date: Thu, 17 Jun 2010 22:17:17 +0200 Message-ID: <87k4pxpg6q.fsf@engster.org> References: <87ocfcj7r4.fsf@mail.jurta.org> <87631jvpzg.fsf@gmail.com> <4C18211C.3070106@harpegolden.net> <83typ2isns.fsf@gnu.org> <83mxuuicjc.fsf@gnu.org> <83ljadikj1.fsf@gnu.org> <83k4pxijpb.fsf@gnu.org> <83hbl1ihux.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276806584 12117 80.91.229.12 (17 Jun 2010 20:29:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Jun 2010 20:29:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 17 22:29:43 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 1OPLiV-0004f4-T4 for ged-emacs-devel@m.gmane.org; Thu, 17 Jun 2010 22:29:40 +0200 Original-Received: from localhost ([127.0.0.1]:57765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPLWq-0004xf-54 for ged-emacs-devel@m.gmane.org; Thu, 17 Jun 2010 16:17:36 -0400 Original-Received: from [140.186.70.92] (port=51086 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPLWg-0004sh-J4 for emacs-devel@gnu.org; Thu, 17 Jun 2010 16:17:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPLWf-0007du-4Q for emacs-devel@gnu.org; Thu, 17 Jun 2010 16:17:26 -0400 Original-Received: from m61s02.vlinux.de ([83.151.21.164]:56343) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPLWe-0007di-Sx for emacs-devel@gnu.org; Thu, 17 Jun 2010 16:17:25 -0400 Original-Received: from dslc-082-083-038-205.pools.arcor-ip.net ([82.83.38.205] helo=spaten) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1OPLWc-0006Sm-MX for emacs-devel@gnu.org; Thu, 17 Jun 2010 22:17:22 +0200 In-Reply-To: <83hbl1ihux.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 17 Jun 2010 22:23:02 +0300") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Mail-Followup-To: emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:126098 Archived-At: Eli Zaretskii writes: >> From: Lennart Borgman >> Date: Thu, 17 Jun 2010 21:10:55 +0200 >> Cc: emacs-devel@gnu.org, david@harpegolden.net >> >> > Please show a recipe starting from "emacs -Q". >> >> I am sorry, I thought that was clear. Just open a large C file for >> example, like window.c. Set the variables as suggested earlier in this >> thread that should prevent "jumping scrolling". >> >> Then just hold down or rapidly press the down arrow. You will see (if >> your pc is not too fast) that Emacs does the "jumping scrolling" now >> and then. Not every time, but now and then, probably when it gets >> behind in screen updating. > > It doesn't jump for me. And, if the machine is too slow and cannot > keep up with the keyboard's autorepeat rate, then what's wrong with > the "jumps"? What would you want Emacs to do instead, if it cannot > keep up with the input? Well, you got a point there. I remember that for some time I simply used something like (global-set-key (kbd "") (lambda () (interactive) (progn (next-line) (redisplay t)))) which also prevents the jumping. But obviously, if you do that, Emacs will start to lag behind the input, so that it continues scrolling even when you're no longer pressing the key, which is worse than jumping. What I would like is that the input is somehow limited to Emacs' speed, but maybe this simply isn't possible? -David