From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: The future of Follow Mode - a proposal. Date: Thu, 18 Feb 2016 22:24:10 +0200 Message-ID: <837fi1u5qt.fsf@gnu.org> References: <20160218195630.GA2697@acm.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1455827063 6051 80.91.229.3 (18 Feb 2016 20:24:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Feb 2016 20:24:23 +0000 (UTC) Cc: andlind@gmail.com, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 18 21:24:18 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 1aWV7a-0005CI-6k for ged-emacs-devel@m.gmane.org; Thu, 18 Feb 2016 21:24:18 +0100 Original-Received: from localhost ([::1]:45270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWV7Z-0008NN-KH for ged-emacs-devel@m.gmane.org; Thu, 18 Feb 2016 15:24:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWV7I-0008Jy-L1 for emacs-devel@gnu.org; Thu, 18 Feb 2016 15:24:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWV7D-0000my-2S for emacs-devel@gnu.org; Thu, 18 Feb 2016 15:24:00 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWV7C-0000mu-Vj; Thu, 18 Feb 2016 15:23:55 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2112 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aWV7C-0007bz-7H; Thu, 18 Feb 2016 15:23:54 -0500 In-reply-to: <20160218195630.GA2697@acm.fritz.box> (message from Alan Mackenzie on Thu, 18 Feb 2016 19:56:30 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:200156 Archived-At: > Date: Thu, 18 Feb 2016 19:56:30 +0000 > From: Alan Mackenzie > > I propose moving much of Follow Mode's mechanism into our C code, in > particular, into window.c and xdisp.c. IMO, moving the code to C will solve only the marginal aspects of this. The main problem -- the fact that the current display engine doesn't support windows of unequal width -- cannot be solved without deep changes. We need to at least design these changes first, so that we have a clear idea how to solve these issues. FWIW, I thought about this for a while, and didn't see any easy way of doing it. If we abandon the design goal of supporting windows of unequal width, the problem becomes much easier. I suggest to talk about these main issues first, and only move further with any kind of implementation once we've resolved this. The decision of what to keep in Lisp and what to move to C is also meaningful only after resolving these main issues.