unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Is it possible to use tooltips only for some modes
@ 2005-08-05  9:57 Klaus Zeitler
  2005-08-05 20:38 ` Richard M. Stallman
  2005-08-09 23:18 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: Klaus Zeitler @ 2005-08-05  9:57 UTC (permalink / raw)


While I think tooltips are good for the toolbar icons and great for the
modeline, I find them sometimes annoying, especially in occur buffer.
e.g. when I move the cursor in the occur buffer emacs keeps hiding lines
behind the tooltip "mouse-2: go to this occurence".
Showing the tooltip once when one enters the buffer would be ok.

Maybe I missed something, but it seems that one can only globally
enable/disable tooltips. I think one should be able to make them buffer local
or, even better, be able to enable/disable tooltips for some features (like
modeline etc.).

I've toyed with this idea and tried
(add-hook 'occur-mode-hook
	  (lambda ()
	    (make-variable-buffer-local 'show-help-function)
	    (setq show-help-function nil)))
This sort of works, but of course it also disables the tooltips for toolbar
and modeline of this buffer.


-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             kzeitler@lucent.com  |
 ------------------------------------------
---
A fool with a tool is still a fool  -- Grady Booch

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-09 23:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-05  9:57 Is it possible to use tooltips only for some modes Klaus Zeitler
2005-08-05 20:38 ` Richard M. Stallman
2005-08-09 10:10   ` Klaus Zeitler
2005-08-09 23:18 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).