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 window start at a meaningless point within a line." Date: Mon, 19 Oct 2015 13:11:58 +0000 Message-ID: <20151019131158.GF2438@acm.fritz.box> References: <83oafx4qsb.fsf@gnu.org> <83lhb14o6e.fsf@gnu.org> <20151018145356.GC1639@acm.fritz.box> <83k2qkhxx3.fsf@gnu.org> <20151019104507.GC2438@acm.fritz.box> <83d1wbgm95.fsf@gnu.org> <20151019112425.GD2438@acm.fritz.box> <83a8rfgkqx.fsf@gnu.org> <20151019120222.GE2438@acm.fritz.box> <838u6zghqz.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 1445260243 30128 80.91.229.3 (19 Oct 2015 13:10:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2015 13:10:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 19 15:10:33 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 1ZoACu-0007dG-Be for ged-emacs-devel@m.gmane.org; Mon, 19 Oct 2015 15:10:32 +0200 Original-Received: from localhost ([::1]:39404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoACt-0002ax-PC for ged-emacs-devel@m.gmane.org; Mon, 19 Oct 2015 09:10:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoACm-0002YL-Bf for emacs-devel@gnu.org; Mon, 19 Oct 2015 09:10:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoACi-0006dZ-Ar for emacs-devel@gnu.org; Mon, 19 Oct 2015 09:10:24 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:51963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoACi-0006dD-1g for emacs-devel@gnu.org; Mon, 19 Oct 2015 09:10:20 -0400 Original-Received: (qmail 43776 invoked by uid 3782); 19 Oct 2015 13:10:18 -0000 Original-Received: from acm.muc.de (p5B14604F.dip0.t-ipconnect.de [91.20.96.79]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 19 Oct 2015 15:10:18 +0200 Original-Received: (qmail 2274 invoked by uid 1000); 19 Oct 2015 13:11:58 -0000 Content-Disposition: inline In-Reply-To: <838u6zghqz.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) 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:192087 Archived-At: Hello, Eli. On Mon, Oct 19, 2015 at 03:33:40PM +0300, Eli Zaretskii wrote: > > Date: Mon, 19 Oct 2015 12:02:23 +0000 > > Cc: emacs-devel@gnu.org > > From: Alan Mackenzie > > > I don't understand why "T" is always at bol. It can be any column. > > I'm only really looking at the problem of getting to the correct > > beginning of line. Moving to a specific column (with a cons argument to > > vertical-motion) seems to be less of a problem. > If that's in a continuation line, you have the same problem: the > display engine and the move_it_* functions count coordinates and > columns from their BOL, not from your "actual" BOLs. That's not what I see. Having set `it' in Fvertical_motion to an iterator based at WS, the column movement remains based on `it', i.e. based on "actual" BOLs. > > (By the way, have you tried the code at all?) > No, because I don't know how much I need to just see the problems, > without the solutions. At some point I will probably ask you for a > minimal patch an a recipe to see the problem, unless we will find a > solution by just talking. OK. -- Alan Mackenzie (Nuremberg, Germany).