unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Harald Hanche-Olsen <hanche@math.ntnu.no>
To: help-gnu-emacs@gnu.org
Subject: Re: Problems extracting a text property
Date: Mon, 23 Jul 2007 12:44:32 +0200	[thread overview]
Message-ID: <pcops2jwga7.fsf@shuttle.math.ntnu.no> (raw)
In-Reply-To: 87k5srfort.fsf@baldur.tsdh.de

+ Tassilo Horn <thorn+news@fastmail.fm>:

|> | (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

... which you no doubt found out, or could have found out, by
executing (with M-:) (text-properties-at (point)) and examining the
result.

|     (get-text-property (point) 'help-echo)
|
| works.

Which may prove useless in the long run, as in my (CVS) version of
emacs that text is replaced by the much less useful "mouse-1: go to
this node".

You may need to dig around in info.el to find out how the info code
itself finds the necessary information.

-- 
* Harald Hanche-Olsen     <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
  when there is no ground whatsoever for supposing it is true.
  -- Bertrand Russell

  reply	other threads:[~2007-07-23 10:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-23  8:22 Problems extracting a text property Tassilo Horn
2007-07-23  9:33 ` Tassilo Horn
2007-07-23 10:44   ` Harald Hanche-Olsen [this message]
2007-07-23 10:46     ` Harald Hanche-Olsen
2007-07-23 11:28     ` Tassilo Horn
2007-07-23 20:13 ` Stefan Monnier
2007-07-24  7:23   ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pcops2jwga7.fsf@shuttle.math.ntnu.no \
    --to=hanche@math.ntnu.no \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).