help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems extracting a text property


From: Tassilo Horn
Subject: Re: Problems extracting a text property
Date: Mon, 23 Jul 2007 11:33:10 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Tassilo Horn <address@hidden> writes:

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))
> `----

I found the solution myself. "mouse-2: go to (recode)" is the value of
the help-echo property, so

    (get-text-property (point) 'help-echo)

works.

Bye,
Tassilo
-- 
People sometimes  ask me if it  is a sin in  the Church of  Emacs to use
vi. Using a free  version of vi is not a sin; it  is a penance. So happy
hacking. (Richard M. Stallman)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]