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:58:29 +0200 Message-ID: <87d3vppea2.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> <87k4pxpg6q.fsf@engster.org> <6028D686-A84E-4DA2-B4BC-A9F345FED07C@mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276808338 18598 80.91.229.12 (17 Jun 2010 20:58:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Jun 2010 20:58:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chad Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 17 22:58:57 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 1OPMAo-0000Wy-Rh for ged-emacs-devel@m.gmane.org; Thu, 17 Jun 2010 22:58:55 +0200 Original-Received: from localhost ([127.0.0.1]:46450 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPMAn-0003Lk-Vm for ged-emacs-devel@m.gmane.org; Thu, 17 Jun 2010 16:58:54 -0400 Original-Received: from [140.186.70.92] (port=51645 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPMAd-0003Iv-Om for emacs-devel@gnu.org; Thu, 17 Jun 2010 16:58:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPMAc-0005qT-97 for emacs-devel@gnu.org; Thu, 17 Jun 2010 16:58:43 -0400 Original-Received: from m61s02.vlinux.de ([83.151.21.164]:34040) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPMAc-0005qE-1K for emacs-devel@gnu.org; Thu, 17 Jun 2010 16:58:42 -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 1OPMAZ-0000tI-9b; Thu, 17 Jun 2010 22:58:39 +0200 In-Reply-To: <6028D686-A84E-4DA2-B4BC-A9F345FED07C@mit.edu> (Chad Brown's message of "Thu, 17 Jun 2010 13:39:43 -0700") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Mail-Followup-To: Chad Brown , 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:126104 Archived-At: Chad Brown writes: > On Jun 17, 2010, at 1:17 PM, David Engster wrote: >> What I would like is that the input is somehow limited to Emacs' >> speed, but maybe this simply isn't possible? > It is almost certainly possible to add a heuristic method for emacs to throw > throw away input if it gets too far ahead of redisplay, although those code > paths seem pretty seriously forbidding to me. Would this be better? Would > you want it to throw away all further input, or just scrolling? It seems hard to > imagine a situation in which you'd want to throw away scrolling and yet keep > text-modifying commands without somehow recognizing absolute-movement > commands (like end-of-buffer), but for that to work you need a lookahead into > the input stream. Such systems would need to be optional, and you'd probably > really want a way for emacs to indicate that it had thrown away some of your > input (although maybe you could dispense with that if you could convince > your heuristic that the `middle' scrolling was a no-op). Yes, I see that this isn't really feasible. I really don't know enough of the Emacs display engine to make any suggestions how this problem might be tackled. I know that Emacs is special in this regard since it enforces that the point position is always visible, and that scrolling is actually more of a side-effect. However, in this case, I want the opposite: I first and foremost want to scroll the buffer, with point movement being a side-effect. I know that I can use the scroll-bars, but their scrolling behavior is far from smooth in large buffers (and I have them disabled anyway). -David