From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Patrick Newsgroups: gmane.emacs.help Subject: Re: Point to Pixel Date: Mon, 13 Jun 2005 11:15:10 -0500 Message-ID: <4f1b14d905061309155c9df4ba@mail.gmail.com> References: <8764wofrkv.fsf-monnier+gnu.emacs.help@gnu.org> Reply-To: Patrick NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1118680633 19203 80.91.229.2 (13 Jun 2005 16:37:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2005 16:37:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 13 18:37:11 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dhrvf-0003Cy-6N for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jun 2005 18:36:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dhs0T-0007fS-V1 for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Jun 2005 12:41:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DhrsH-0005QS-KE for help-gnu-emacs@gnu.org; Mon, 13 Jun 2005 12:33:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DhrsB-0005Ne-Hu for help-gnu-emacs@gnu.org; Mon, 13 Jun 2005 12:33:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dhrs9-00059A-VK for help-gnu-emacs@gnu.org; Mon, 13 Jun 2005 12:33:13 -0400 Original-Received: from [64.233.184.193] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dhrbm-00018V-B8 for help-gnu-emacs@gnu.org; Mon, 13 Jun 2005 12:16:18 -0400 Original-Received: by wproxy.gmail.com with SMTP id 50so1551468wri for ; Mon, 13 Jun 2005 09:15:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=N66TAuMo90QBw0Uzt/Er0RZ1B4OyxXtKLPYuXsICvfkNv/axECLML4h+RIQg1q0YsEFl48VWdoWtG9RGgtarB4XVs2K9evZCa2NpL9Pm+2Cmb9/axKbotzHFtSQcf1vNUcw9K+w4B4ckMW+4tWzeaf/IxMu6C/LIqnlvTpcZhBE= Original-Received: by 10.54.30.40 with SMTP id d40mr2629570wrd; Mon, 13 Jun 2005 09:15:10 -0700 (PDT) Original-Received: by 10.54.73.16 with HTTP; Mon, 13 Jun 2005 09:15:10 -0700 (PDT) Original-To: help-gnu-emacs@gnu.org In-Reply-To: <8764wofrkv.fsf-monnier+gnu.emacs.help@gnu.org> Content-Disposition: inline X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:27450 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27450 Yes, it's just a quick hack. Anyone know where this posn-at-point is in the CVS tree?=20 On 6/8/05, Stefan Monnier wrote: > > I wanted this feature and couldn't find it... all I found were posts in > > lists also asking for the feature, with people denying it could be done > > in elisp. Well, that is not true! ;) >=20 > The problem with your code is that it doesn't correctly handle hidden tex= t, > display properties (stretchable spaces, images, ...), proportional fonts, > faces that change the font size, line wrapping, ... >=20 > Emacs-CVS has a function that works correctly even in the face of the > above thingies. It's called posn-at-point. >=20 >=20 > Stefan > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs >