From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: The unwarranted scrolling assumption Date: Wed, 16 Jun 2010 20:54:52 -0400 Message-ID: References: <87ocfcj7r4.fsf@mail.jurta.org> <87631jvpzg.fsf@gmail.com> <4C18211C.3070106@harpegolden.net> <83typ2isns.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 1276736121 1167 80.91.229.12 (17 Jun 2010 00:55:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Jun 2010 00:55:21 +0000 (UTC) Cc: david@harpegolden.net, emacs-devel@gnu.org, Lennart Borgman , storm@cua.dk To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 17 02:55:16 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 1OP3Ny-00063o-39 for ged-emacs-devel@m.gmane.org; Thu, 17 Jun 2010 02:55:14 +0200 Original-Received: from localhost ([127.0.0.1]:36066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OP3Nx-0002k0-HM for ged-emacs-devel@m.gmane.org; Wed, 16 Jun 2010 20:55:13 -0400 Original-Received: from [140.186.70.92] (port=42007 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OP3Nr-0002fu-El for emacs-devel@gnu.org; Wed, 16 Jun 2010 20:55:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OP3Np-0007FL-Ns for emacs-devel@gnu.org; Wed, 16 Jun 2010 20:55:07 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:64505 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OP3Nm-0007Eh-60; Wed, 16 Jun 2010 20:55:02 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAMsOGUxFxISg/2dsb2JhbACebnK/RIUaBI0R X-IronPort-AV: E=Sophos;i="4.53,428,1272859200"; d="scan'208";a="68198687" Original-Received: from 69-196-132-160.dsl.teksavvy.com (HELO pastel.home) ([69.196.132.160]) by ironport2-out.pppoe.ca with ESMTP; 16 Jun 2010 20:55:01 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 796FB7F26; Wed, 16 Jun 2010 20:54:52 -0400 (EDT) In-Reply-To: <83typ2isns.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 17 Jun 2010 00:17:27 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:126048 Archived-At: >> However I dislike the way the problem is solved. I would rather wish >> that the display engine instead calculated a new window start point >> from the input command queue. I have no idea if that is actually >> possible. > I think it's impossible. How can you guess the effect of list of > arbitrary input events on the display, without actually redisplaying? Indeed what he suggests is probably impossible. But the end result he's after is definitely possible: move the window-start as little as possible (tho still, line by line) to keep point displayed. Stefan