unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Klaus Zeitler <kzeitler@lucent.com>
Subject: Is it possible to use tooltips only for some modes
Date: Fri, 05 Aug 2005 11:57:47 +0200	[thread overview]
Message-ID: <q5gbr4cn1t0.fsf@lucent.com> (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

             reply	other threads:[~2005-08-05  9:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-05  9:57 Klaus Zeitler [this message]
2005-08-05 20:38 ` Is it possible to use tooltips only for some modes Richard M. Stallman
2005-08-09 10:10   ` Klaus Zeitler
2005-08-09 23:18 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=q5gbr4cn1t0.fsf@lucent.com \
    --to=kzeitler@lucent.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).