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 window start at a meaningless point within a line." Date: Sun, 18 Oct 2015 20:46:48 +0300 Message-ID: <83k2qkhxx3.fsf@gnu.org> References: <834mhr99e8.fsf@gnu.org> <20151016095535.GA2779@acm.fritz.box> <83a8ri67jg.fsf@gnu.org> <20151016181249.GC2779@acm.fritz.box> <837fmm65bl.fsf@gnu.org> <20151016201238.GD2779@acm.fritz.box> <83twpp51xz.fsf@gnu.org> <20151017115738.GA2522@acm.fritz.box> <83oafx4qsb.fsf@gnu.org> <83lhb14o6e.fsf@gnu.org> <20151018145356.GC1639@acm.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445190459 14217 80.91.229.3 (18 Oct 2015 17:47:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Oct 2015 17:47:39 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 18 19:47:31 2015 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 1Zns3K-0004Ru-Sc for ged-emacs-devel@m.gmane.org; Sun, 18 Oct 2015 19:47:27 +0200 Original-Received: from localhost ([::1]:34974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zns3J-0000CY-W6 for ged-emacs-devel@m.gmane.org; Sun, 18 Oct 2015 13:47:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zns2o-0000A8-K2 for emacs-devel@gnu.org; Sun, 18 Oct 2015 13:46:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zns2j-0003tx-J8 for emacs-devel@gnu.org; Sun, 18 Oct 2015 13:46:54 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:48124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zns2j-0003ts-Bf for emacs-devel@gnu.org; Sun, 18 Oct 2015 13:46:49 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NWF00300G06N200@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sun, 18 Oct 2015 20:46:48 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWF003JGG1ZFQ40@a-mtaout22.012.net.il>; Sun, 18 Oct 2015 20:46:48 +0300 (IDT) In-reply-to: <20151018145356.GC1639@acm.fritz.box> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:191986 Archived-At: > Date: Sun, 18 Oct 2015 14:53:56 +0000 > Cc: emacs-devel@gnu.org > From: Alan Mackenzie > > > Is the following a correct definition of when Fvertical_motion > > overshoots, i.e. lands one line below (for LINES > 0) the correct one: > > when the offset between the "actual" window-start and the preceding > > "xdisp" BOL is greater than the X coordinate of the last character of > > the 1st physical line in the window. > > Disentangling the words, what I think you're saying is that .... > > nlines = 3 > 8. B-------WS-------------A-------L1-------------A2----\nC--------C2--------C3 > <---N---> <---------X---------> > (a) ^ it,T > (b) ^ it T > > > nlines = 3 > 9. B-----------------WS---A-----------------L1---A2----\nC--------C2--------C3 > <--------N--------> <----X----> > (a) ^ it,T > (b) ^ it T > > .... an overshoot occurs when N > X. I'm assuming that by "X coordinate > of ..." you're meaning the offset from an _actual_ BOL. > > I don't see at all that this is the case. We are miscommunicating (because these diagrams are devilishly hard to interpret). But let's leave this alone, and instead try to use my other idea.