From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.help Subject: Re: Problems extracting a text property Date: Mon, 23 Jul 2007 12:44:32 +0200 Organization: Norwegian university of science and technology Message-ID: References: <87wswrfs29.fsf@baldur.tsdh.de> <87k5srfort.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 1185190823 13295 80.91.229.12 (23 Jul 2007 11:40:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2007 11:40:23 +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 13:40:21 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 1ICwGy-0000cd-KY for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Jul 2007 13:40:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICwGy-00013m-Hw for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Jul 2007 07:40:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!uio.no!ntnu.no!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: fiinbeck.math.ntnu.no Original-X-Trace: orkan.itea.ntnu.no 1185187472 2580 129.241.15.140 (23 Jul 2007 10:44:32 GMT) Original-X-Complaints-To: usenet@itea.ntnu.no Original-NNTP-Posting-Date: Mon, 23 Jul 2007 10:44:32 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (berkeley-unix) Cancel-Lock: sha1:SYrlFw8R4ArKYnl3kZg/JU8Jq+k= Original-Xref: shelby.stanford.edu gnu.emacs.help:150296 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:45877 Archived-At: + Tassilo Horn : |> | (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 - It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. -- Bertrand Russell