From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#17678: 24.4.50; Feature Request -- calculate new `window-start` & `window-end` before visual redisplay Date: Thu, 12 Jun 2014 22:11:39 -0400 Message-ID: References: <831tuvz3n8.fsf@gnu.org> <83ha3qxbcc.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1402625550 29982 80.91.229.3 (13 Jun 2014 02:12:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2014 02:12:30 +0000 (UTC) Cc: esq@lawlist.com, 17678@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 13 04:12:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WvGya-0001Q6-CG for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jun 2014 04:12:20 +0200 Original-Received: from localhost ([::1]:56322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvGyZ-0002cQ-Gy for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Jun 2014 22:12:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvGyP-0002bQ-Vt for bug-gnu-emacs@gnu.org; Thu, 12 Jun 2014 22:12:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvGyI-0006v1-HH for bug-gnu-emacs@gnu.org; Thu, 12 Jun 2014 22:12:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvGyI-0006ux-DV for bug-gnu-emacs@gnu.org; Thu, 12 Jun 2014 22:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WvGyH-0002pd-QI for bug-gnu-emacs@gnu.org; Thu, 12 Jun 2014 22:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jun 2014 02:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17678 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17678-submit@debbugs.gnu.org id=B17678.140262551010863 (code B ref 17678); Fri, 13 Jun 2014 02:12:01 +0000 Original-Received: (at 17678) by debbugs.gnu.org; 13 Jun 2014 02:11:50 +0000 Original-Received: from localhost ([127.0.0.1]:46004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvGy5-0002p8-3b for submit@debbugs.gnu.org; Thu, 12 Jun 2014 22:11:49 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:4962) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvGy2-0002oq-Pc for 17678@debbugs.gnu.org; Thu, 12 Jun 2014 22:11:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIxALNAcLFBgNJIgECNIZF456B4Q4AQOUYpQ3gWqBcYFbIQ X-IPAS-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIxALNAcLFBgNJIgECNIZF456B4Q4AQOUYpQ3gWqBcYFbIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="66729695" Original-Received: from 75-119-224-253.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 12 Jun 2014 22:11:40 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id BA63BAE23E; Thu, 12 Jun 2014 22:11:39 -0400 (EDT) In-Reply-To: <83ha3qxbcc.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 12 Jun 2014 20:54:27 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90303 Archived-At: >> > The display engine changes window-start for several reasons, only one >> > of them being that point moved off screen. >> Is there a comment somewhere that documents the cases where it can happen? > Not that I know of. > In general, there are functions that set the window-start forcibly. I know of code that does that from outside of redisplay, but within redisplay I only know of the "move point back into view". >> In the case of follow-mode, I think the best way to handle that is to >> make it possible for follow-mode to force redisplay to go through the >> windows in a particular order. > That'd require some infrastructure that doesn't exist. Yes, that's indeed the topic of this thread. Stefan