From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Getting the click position in a string Date: Tue, 25 Apr 2006 11:53:01 +0200 Message-ID: <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 1145966548 13636 80.91.229.2 (25 Apr 2006 12:02:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Apr 2006 12:02:28 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 25 14:02:27 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 1FYMFA-0002hR-Oq for ged-emacs-devel@m.gmane.org; Tue, 25 Apr 2006 14:02:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYMFA-0005f9-DU for ged-emacs-devel@m.gmane.org; Tue, 25 Apr 2006 08:02:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYMEX-0005Jw-HA for emacs-devel@gnu.org; Tue, 25 Apr 2006 08:01:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYMES-0005Eh-O4 for emacs-devel@gnu.org; Tue, 25 Apr 2006 08:01:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYMES-0005EO-Gz for emacs-devel@gnu.org; Tue, 25 Apr 2006 08:01:28 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FYMGu-00015V-IU for emacs-devel@gnu.org; Tue, 25 Apr 2006 08:04:00 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1FYMER-000672-47 for emacs-devel@gnu.org; Tue, 25 Apr 2006 08:01:27 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 41BBB1C01F8A; Tue, 25 Apr 2006 11:53:01 +0200 (CEST) Original-To: emacs-devel@gnu.org 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:53373 Archived-At: 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. Consequently, one can't fetch the text property at the position of the click in such a string. Am I wrong here? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum