[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems extracting a text property
From: |
Tassilo Horn |
Subject: |
Problems extracting a text property |
Date: |
Mon, 23 Jul 2007 10:22:06 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
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.
- Problems extracting a text property,
Tassilo Horn <=