Subject: bug#9543: closed (Re: bug#9543: 23.3.50; help-echo property)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 19 Sep 2011 14:05:06 +0000

Your bug report

#9543: 23.3.50; help-echo property

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
9543: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9543
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#9543: 23.3.50; help-echo property
From: Leo <[email-masked]>
To: Stefan Monnier <[email-masked]>
Cc: Chong Yidong <[email-masked]>, [email-masked]
Date: Mon, 19 Sep 2011 21:58:46 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

On 2011-09-19 20:57 +0800, Stefan Monnier wrote:
>>   (setq x '(:eval (propertize "x" 'help-echo (message "Wow"))))
>
> Hint: try to replace `help-echo' with `toto' and see what happens.
>
>
>         Stefan

Sorry for the noise. I missed a ' there.

Leo

Subject: 23.3.50; help-echo property
From: Leo <[email-masked]>
To: [email-masked]
Date: Sun, 18 Sep 2011 21:59:39 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

1. Emacs -Q

2. eval
  (put 'x 'risky-local-variable t)
  (setq x '(:eval (propertize "x" 'help-echo (message "Wow"))))
  (push '("" x) global-mode-string)

3. Move point around and check how many Wow's are printed in *Messages*
   buffer

The form (message "Wow") is eval'd each time mode-line is updated even
though one didn't move mouse over the 'x' string on the mode-line.

If the help-echo property is a function, it is only called when one
moves the mouse over 'x'.

Why this difference?

Leo