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: How to obtain x/y/hpos/vpos at eol -- excluding overlay 'after-string. Date: Mon, 04 Apr 2016 23:30:04 +0300 Message-ID: <83bn5pnmlv.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1459801862 24824 80.91.229.3 (4 Apr 2016 20:31:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Apr 2016 20:31:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Keith David Bershatsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 04 22:30:57 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 1anB9C-00030E-EA for ged-emacs-devel@m.gmane.org; Mon, 04 Apr 2016 22:30:54 +0200 Original-Received: from localhost ([::1]:32825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anB9B-00088x-OK for ged-emacs-devel@m.gmane.org; Mon, 04 Apr 2016 16:30:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anB8s-00088D-E4 for emacs-devel@gnu.org; Mon, 04 Apr 2016 16:30:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anB8o-0002cP-DZ for emacs-devel@gnu.org; Mon, 04 Apr 2016 16:30:34 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anB8o-0002cL-Ag; Mon, 04 Apr 2016 16:30:30 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3292 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1anB8n-0003GH-48; Mon, 04 Apr 2016 16:30:29 -0400 In-reply-to: (message from Keith David Bershatsky on Mon, 04 Apr 2016 12:39:18 -0700) 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:202717 Archived-At: > Date: Mon, 04 Apr 2016 12:39:18 -0700 > From: Keith David Bershatsky > > I am looking for some assistance, please, to obtain in C (e.g., xdisp.c) the values for x/y/hpos/vpos at the end of a visual line when overlay 'after-string exists. > > Whenever there is an overlay 'after-string at the end of the line, the `x` and `hpos` coordinates for eol are not what I want -- i.e., the values for `x` and `hpos` are both increased depending upon the visual length of the 'after-string. Please tell what problem you are trying to solve, and why. Obtaining coordinates is a means, but I don't yet see the end, so please help us understand that.