From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.devel Subject: Re: Is there an IT test for a tab-width spacer? Date: Sat, 28 Oct 2017 11:06:19 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1509213992 4002 195.159.176.226 (28 Oct 2017 18:06:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 28 Oct 2017 18:06:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 28 20:06:28 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8VV4-0000JF-EU for ged-emacs-devel@m.gmane.org; Sat, 28 Oct 2017 20:06:26 +0200 Original-Received: from localhost ([::1]:33622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8VVA-0002vn-4O for ged-emacs-devel@m.gmane.org; Sat, 28 Oct 2017 14:06:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8VV3-0002vS-8v for emacs-devel@gnu.org; Sat, 28 Oct 2017 14:06:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8VV0-0002sS-4X for emacs-devel@gnu.org; Sat, 28 Oct 2017 14:06:25 -0400 Original-Received: from gateway22.websitewelcome.com ([192.185.46.156]:37511) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e8VUz-0002qM-R2 for emacs-devel@gnu.org; Sat, 28 Oct 2017 14:06:22 -0400 Original-Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway22.websitewelcome.com (Postfix) with ESMTP id 927ECD4F for ; Sat, 28 Oct 2017 13:06:20 -0500 (CDT) Original-Received: from gator3053.hostgator.com ([50.87.144.69]) by cmsmtp with SMTP id 8VUyefH9QrWst8VUyePXlg; Sat, 28 Oct 2017 13:06:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com ; s=default; h=Content-Type:MIME-Version:Subject:Cc:To:From:Message-ID:Date: Sender:Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=h5K0uZntZFrrLjeqZAxJi66q0kwpA3C5cr0W6id7Xyc=; b=kcUospLdtFjOzMmn1yIQZnxM+4 8rW5hO3f6f/FI6bm2hk+4umoy06+YNhR8iCKz6g/H9mIWmD/mxpYYE/mhsCOjHTwpLLZ7nvH97pJw n/y8o2s6Bg1fMJx1v5Sl9cFMsl2XYzo23uLaSqvagYhfEa5yOG154OsjaMvzqD81p2JnP4IDrbTWh +awUPoN6AgxIx21tM5jNFbfOzT18ThS5JkstJe9qW2OPDeOT9tNjuEDNU1s8qazkQgSw8eCjy6g+C Ay1Ao4KLQnHnxsBnQgF9ozBHzRiQAMVcglK2IyKUXVMOBp6Y2gJbqqrkGCEGuuKl5y6skQ6yzkEPN 0XjY1pPw==; Original-Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:50381 helo=server.private) by gator3053.hostgator.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.87) (envelope-from ) id 1e8VUx-000weG-Od; Sat, 28 Oct 2017 13:06:19 -0500 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3053.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-BWhitelist: no X-Source-IP: 45.48.239.195 X-Source-L: No X-Exim-ID: 1e8VUx-000weG-Od X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: cpe-45-48-239-195.socal.res.rr.com (server.private) [45.48.239.195]:50381 X-Source-Auth: lawlist X-Email-Count: 1 X-Source-Cap: bGF3bGlzdDtsYXdsaXN0O2dhdG9yMzA1My5ob3N0Z2F0b3IuY29t X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 192.185.46.156 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:219807 Archived-At: Yes, that does indeed solve this issue. Thank you very much -- greatly appreciated! :) Keith ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; DATE: [10-28-2017 10:23:39] <28 Oct 2017 20:23:39 +0300> FROM: Eli Zaretskii > > > Date: Sat, 28 Oct 2017 10:10:02 -0700 > > From: Keith David Bershatsky > > Cc: emacs-devel@gnu.org > > > > As we move IT, I would like to know if we can programmatically determine the width of that adjustable space [associated with a tab] and the corresponding X and HPOS of the next character. [Once those values are known, I can place fake cursors along that adjustable space.] > > You have it.pixel_width. > > As for HPOS, it always moves by 1 for each glyph, so there's no notion > of "width" for it. > > HTH