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, 25 Feb 2016 18:28:18 +0200 Message-ID: <83lh68g3fh.fsf@gnu.org> References: <20160218195630.GA2697@acm.fritz.box> <837fi1u5qt.fsf@gnu.org> <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> <837fhthq5z.fsf@gnu.org> <834mcxhnaq.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1456417748 29529 80.91.229.3 (25 Feb 2016 16:29:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Feb 2016 16:29:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 25 17:29:08 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 1aYymp-0005fm-4J for ged-emacs-devel@m.gmane.org; Thu, 25 Feb 2016 17:29:07 +0100 Original-Received: from localhost ([::1]:44306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYymn-0005u4-OM for ged-emacs-devel@m.gmane.org; Thu, 25 Feb 2016 11:29:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYym6-0004pj-G6 for emacs-devel@gnu.org; Thu, 25 Feb 2016 11:28:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYym2-0005ko-NX for emacs-devel@gnu.org; Thu, 25 Feb 2016 11:28:22 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYym2-0005ki-Km; Thu, 25 Feb 2016 11:28:18 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4908 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aYym1-0007tf-RX; Thu, 25 Feb 2016 11:28:18 -0500 In-reply-to: (message from Stefan Monnier on Wed, 24 Feb 2016 19:30:55 -0500) 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:200664 Archived-At: > From: Stefan Monnier > Cc: emacs-devel@gnu.org > Date: Wed, 24 Feb 2016 19:30:55 -0500 > > I live in a world where wrapped lines are sufficiently rare that I don't > really care and rarely think about what can happen in those cases. > > But now that I think about it: I'm not sure how vertical-motion could > handle a "multiple-window" case where the windows don't have the same > width (same thing in other similar cases, such as with overlays with > a `window' property that make them only apply to some of the multiple > windows, or when the windows aren't all in the same frame and don't use > the same font). The desired semantic seems undefined except for the > case where the vertical motion is applied to the "currently displayed > state" (so we know when to use which window data). Actually, vertical-motion completely breaks in that case. I don't even see a way that will allow to solve that situation in principle, except in some very specific and restricted use cases. Which is why I strongly suggest to change Follow Mode so that it forces all of its windows be of the same width. With the current pixelwise control of window dimensions, this is easy. I think this will magically remove many of the problems that currently plague Follow Mode, and leave us with something we can reasonably easy to solve and maintain. However, Alan disagrees, and insists on supporting windows of unequal width.