[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems extracting a text property
From: |
Stefan Monnier |
Subject: |
Re: Problems extracting a text property |
Date: |
Mon, 23 Jul 2007 16:13:10 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
> 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 code activated by mouse-2 does not use the text-properties, but the
buffer's text instead. So take a look at the text covered by those
properties (and beware that some part of it may be invisible).
Stefan