From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: The future of Follow Mode - a proposal. Date: Thu, 25 Feb 2016 20:57:37 +0000 Message-ID: <20160225205737.GD19742@acm.fritz.box> References: <20160219142522.GA3193@acm.fritz.box> <83povsr8cc.fsf@gnu.org> <20160219181834.GC3193@acm.fritz.box> <83io1kr12k.fsf@gnu.org> <20160220124415.GA1758@acm.fritz.box> <83wppzo7lf.fsf@gnu.org> <20160223231156.GA26899@acm.fritz.box> <83a8mqhvym.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1456433725 32163 80.91.229.3 (25 Feb 2016 20:55:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Feb 2016 20:55:25 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 25 21:55:17 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aZ2wO-0005Pp-Ri for ged-emacs-devel@m.gmane.org; Thu, 25 Feb 2016 21:55:16 +0100 Original-Received: from localhost ([::1]:45786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ2wO-0000Br-Az for ged-emacs-devel@m.gmane.org; Thu, 25 Feb 2016 15:55:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ2wK-0000Ax-Gt for emacs-devel@gnu.org; Thu, 25 Feb 2016 15:55:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ2wI-0007Na-2T for emacs-devel@gnu.org; Thu, 25 Feb 2016 15:55:12 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:14985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ2wH-0007Mz-PH for emacs-devel@gnu.org; Thu, 25 Feb 2016 15:55:09 -0500 Original-Received: (qmail 85514 invoked by uid 3782); 25 Feb 2016 20:55:07 -0000 Original-Received: from acm.muc.de (p548A4868.dip0.t-ipconnect.de [84.138.72.104]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 25 Feb 2016 21:55:05 +0100 Original-Received: (qmail 11455 invoked by uid 1000); 25 Feb 2016 20:57:37 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 193.149.48.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200679 Archived-At: Hello, Stefan. On Wed, Feb 24, 2016 at 01:57:32PM -0500, Stefan Monnier wrote: > >> As mentioned last time this follow-mode discussion came up, I think > >> a better approach (maybe not easier, but more generally useful) would be > >> to add an Elisp hook that can control the order in which > >> windows are redisplayed. > > But that's orthogonal to the issues described by Alan, right? > Hmm... unless I misunderstood his suggestion, no. Because "my" Elisp hook > would let you do what he wants directly in Elisp without any changes > in C. What would this lisp hook do, and where? Merely controlling the order of window display is no great feat. Determining window starts for these Follow Mode windows is the difficult bit. Currently Follow Mode fights with the display engine to get what it needs, often resulting in delays of several tenths of a second in the subsequent redisplay operations after the first one. > Stefan -- Alan Mackenzie (Nuremberg, Germany).