[Top][All Lists]

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

address@hidden: RE: tooltip-mode disabled prevents messages in minibuffe

From: Nick Roberts
Subject: address@hidden: RE: tooltip-mode disabled prevents messages in minibuffer]
Date: Sat, 22 Jul 2006 17:39:59 +1200

 >     Evaluate this:
 >      (require 'easymenu)
 >      (defvar my-menu (copy-tree facemenu-menu) "")
 >      (defalias 'my-menu my-menu)
 >      (define-key global-map [C-down-mouse-2] 'my-menu)
 >      (easy-menu-do-add-item my-menu ["TEST" test t])
 >      (defun test () "" (interactive) (message "TTTTTTTTTTTTTTTTT"))
 >      (tooltip-mode 1)
 >     Use `C-mouse-2' to bring up the facemenu and then click TEST. The
 >     message TTTTTTTTTTTT appears in the minibuffer, as it should.
 >     Now, do this: (tooltip-mode -1)
 >     Try menu item TEST again: no message appears in the minibuffer. The
 >     message TTTTTTTTTT appears in *Messages*, however.

I can't reproduce this on GNU/Linux.

 >     I don't know if an empty tooltip message in the minibuffer is somehow
 >     overwriting the message or what. If that is the problem, how can I
 >     control that?  

I don't think so.  The item TEST has no help-echo.  Messages disappear
when Emacs receives further input.  Perhaps this is the case on Windows
after test has executed e.g C-mouse-2 vs. C-down-mouse-2

 >                      I tried binding tooltip-mode to 1 around the call to
 >  `message', but that didn't help.

tooltip-mode is a minor-mode, not just a variable like buffer-read-only.

Nick                                           http://www.inet.net.nz/~nickrob

reply via email to

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