From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Getting the click position in a string Date: Tue, 25 Apr 2006 16:36:44 +0200 Message-ID: References: <85fyk2ugle.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145975944 17534 80.91.229.2 (25 Apr 2006 14:39:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Apr 2006 14:39:04 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 25 16:39:02 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FYOgs-0004PY-IG for ged-emacs-devel@m.gmane.org; Tue, 25 Apr 2006 16:38:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYOgr-0005EA-S5 for ged-emacs-devel@m.gmane.org; Tue, 25 Apr 2006 10:38:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYOgf-0005DQ-FD for emacs-devel@gnu.org; Tue, 25 Apr 2006 10:38:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYOge-0005Cs-IC for emacs-devel@gnu.org; Tue, 25 Apr 2006 10:38:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYOge-0005Cn-Ay for emacs-devel@gnu.org; Tue, 25 Apr 2006 10:38:44 -0400 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FYOj5-0001yT-OU; Tue, 25 Apr 2006 10:41:15 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepa.post.tele.dk (Postfix) with SMTP id 6600FFAC068; Tue, 25 Apr 2006 16:38:35 +0200 (CEST) Original-To: David Kastrup In-Reply-To: <85fyk2ugle.fsf@lola.goethe.zz> (David Kastrup's message of "Tue, 25 Apr 2006 11:53:01 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53384 Archived-At: David Kastrup writes: > Hi, > > I am trying to fix mouse.el so that it can heed follow-link properties > in display strings. But it does not appear that the mouse click info > gives the requisite position information: there is posn-string, and > there is posn-point, but it does not look like there is > posn-string-pos or whatever else which would be able to pinpoint the > actual position within a string that is used as a display property or > before-string or after-string. It should be there -- posn-string should return a cons ("string" . POS) -- Kim F. Storm http://www.cua.dk