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: Mon, 19 Oct 2015 16:27:38 +0300 Message-ID: <8337x7gf91.fsf@gnu.org> 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> <20151019131158.GF2438@acm.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445261275 18339 80.91.229.3 (19 Oct 2015 13:27:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2015 13:27:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 19 15:27:46 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 1ZoATa-00036V-Ap for ged-emacs-devel@m.gmane.org; Mon, 19 Oct 2015 15:27:46 +0200 Original-Received: from localhost ([::1]:39513 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoATZ-00062d-6X for ged-emacs-devel@m.gmane.org; Mon, 19 Oct 2015 09:27:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoATV-00060F-2D for emacs-devel@gnu.org; Mon, 19 Oct 2015 09:27:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoATR-0004aA-Il for emacs-devel@gnu.org; Mon, 19 Oct 2015 09:27:40 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:60865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoATR-0004a1-Bt for emacs-devel@gnu.org; Mon, 19 Oct 2015 09:27:37 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NWG00D00YO6TO00@mtaout29.012.net.il> for emacs-devel@gnu.org; Mon, 19 Oct 2015 16:26:58 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWG00BIDYOYAQ20@mtaout29.012.net.il>; Mon, 19 Oct 2015 16:26:58 +0300 (IDT) In-reply-to: <20151019131158.GF2438@acm.fritz.box> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 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:192091 Archived-At: > Date: Mon, 19 Oct 2015 13:11:58 +0000 > Cc: emacs-devel@gnu.org > From: Alan Mackenzie > > > > 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. When move_it_by_lines returns, you are on the goal line, at zero X coordinate. That zero is in "xdisp coordinates".