From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Problems extracting a text property Date: Mon, 23 Jul 2007 10:22:06 +0200 Organization: University Koblenz-Landau Campus Koblenz Message-ID: <87wswrfs29.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185183709 22524 80.91.229.12 (23 Jul 2007 09:41:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2007 09:41:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 23 11:41:48 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ICuQA-00043P-C1 for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Jul 2007 11:41:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICuQ9-0000Tt-Lm for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Jul 2007 05:41:41 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!multikabel.net!feed20.multikabel.net!news2.euro.net!feeder1.cambrium.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer0.kpn.DE!news.uni-stuttgart.de!news.belwue.de!news.uni-kl.de!cache.uni-koblenz.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 41 Original-NNTP-Posting-Host: dslb-084-063-095-120.pools.arcor-ip.net Original-X-Trace: cache.uni-koblenz.de 1185178926 19778 84.63.95.120 (23 Jul 2007 08:22:06 GMT) Original-X-Complaints-To: news@cache.uni-koblenz.de Original-NNTP-Posting-Date: Mon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XQZkQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:150293 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:45874 Archived-At: Hi, on a link in an info buffer the text has properies like these: ,---- | (font-lock-face info-xref mouse-face highlight | help-echo mouse-2: go to (libc)Special Functions) | (font-lock-face info-xref mouse-face highlight | help-echo mouse-2: go to (libext2fs.info)) | (font-lock-face info-xref mouse-face highlight | help-echo mouse-2: go to (libidn)Invoking idn) | (font-lock-face info-xref mouse-face highlight | help-echo mouse-2: go to (nano)) | (font-lock-face info-xref mouse-face highlight | help-echo mouse-2: go to (recode)) `---- Now I'd like to extract the link locations, e.g. "(libc)Special Functions". But how? The other properties can be examined with (get-text-property (point) 'font-lock-face) but I cannot get the target. I tried (get-text-property (point) 'mouse-2) (get-text-property (point) 'mouse-2:) (get-text-property (point) "mouse-2: go to") (get-text-property (point) 'to) but they all return nil. Much thanks in advance, Tassilo -- People say that if you play Microsoft CD's backwards, you hear satanic things, but that's nothing, because if you play them forwards, they install Windows.