GNU bug report logs - #9543
23.3.50; help-echo property

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Sun, 18 Sep 2011 14:06:01 UTC

Severity: normal

Found in version 23.3.50

Done: Leo <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9543 in the body.
You can then email your comments to 9543 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to cyd <at> stupidchicken.com, bug-gnu-emacs <at> gnu.org:
bug#9543; Package emacs. (Sun, 18 Sep 2011 14:06:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to cyd <at> stupidchicken.com, bug-gnu-emacs <at> gnu.org. (Sun, 18 Sep 2011 14:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.3.50; help-echo property
Date: Sun, 18 Sep 2011 21:59:39 +0800
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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9543; Package emacs. (Mon, 19 Sep 2011 13:03:01 GMT) Full text and rfc822 format available.

Message #8 received at 9543 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Leo <sdl.web <at> gmail.com>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, 9543 <at> debbugs.gnu.org
Subject: Re: bug#9543: 23.3.50; help-echo property
Date: Mon, 19 Sep 2011 08:57:43 -0400
>   (setq x '(:eval (propertize "x" 'help-echo (message "Wow"))))

Hint: try to replace `help-echo' with `toto' and see what happens.


        Stefan




Reply sent to Leo <sdl.web <at> gmail.com>:
You have taken responsibility. (Mon, 19 Sep 2011 14:05:05 GMT) Full text and rfc822 format available.

Notification sent to Leo <sdl.web <at> gmail.com>:
bug acknowledged by developer. (Mon, 19 Sep 2011 14:05:06 GMT) Full text and rfc822 format available.

Message #13 received at 9543-done <at> debbugs.gnu.org (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, 9543-done <at> debbugs.gnu.org
Subject: Re: bug#9543: 23.3.50; help-echo property
Date: Mon, 19 Sep 2011 21:58:46 +0800
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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 18 Oct 2011 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.