From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: The display margin Date: 28 Nov 2003 09:23:13 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <16080.60869.212521.952911@nick.uklinux.net> <200305251636.h4PGa1ll021935@rum.cs.yale.edu> <16082.42589.935105.932019@nick.uklinux.net> <16321.14941.117864.117597@nick.uklinux.net> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1070029577 15643 80.91.224.253 (28 Nov 2003 14:26:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Nov 2003 14:26:17 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Nov 28 15:26:15 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1APjZW-0006hO-00 for ; Fri, 28 Nov 2003 15:26:14 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1APjZW-0006U2-00 for ; Fri, 28 Nov 2003 15:26:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1APkV1-0005Eh-IJ for emacs-devel@quimby.gnus.org; Fri, 28 Nov 2003 10:25:39 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1APkUe-0005DV-8p for emacs-devel@gnu.org; Fri, 28 Nov 2003 10:25:16 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1APkU3-00054R-Tb for emacs-devel@gnu.org; Fri, 28 Nov 2003 10:25:10 -0500 Original-Received: from [207.245.84.69] (helo=colo.agora-net.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1APkU3-00053s-FB for emacs-devel@gnu.org; Fri, 28 Nov 2003 10:24:39 -0500 Original-Received: from ttn by colo.agora-net.com with local (Exim 3.34 #1) id 1APjWb-00023X-00 for emacs-devel@gnu.org; Fri, 28 Nov 2003 09:23:13 -0500 Original-To: emacs-devel@gnu.org In-Reply-To: David Kastrup's message of "28 Nov 2003 11:53:29 +0100" Original-Lines: 19 X-Mailer: Gnus v5.7/Emacs 20.7 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18191 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18191 David Kastrup writes: Actually, given that we now have a pixel-accurate position within the object (maybe this is generalizable in some manner also for text?), it would be nice having a way of knowing the pixel-accurate size of a displayed object in the first place so that one can calculate the relative position in the image easily, too. it is difficult to generalize this to text because the same text can be presented differently depending on font, overlays, display properties and probably many other influences i can't think of at the moment. a specific query (mouse click) can yield a specific answer but such info is not inherently in the text (anymore). w/ images it's easy of course. this is the problem i'm mulling wrt determining what is the right thing to do in order to support a fractional return value for the function `current-column'. thi