* 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
* Re: Is it possible to use tooltips only for some modes
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
1 sibling, 1 reply; 4+ messages in thread
From: Richard M. Stallman @ 2005-08-05 20:38 UTC (permalink / raw)
Cc: emacs-devel
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.).
That seems like a good idea.
Another idea: have a variable to specify the offset between
the mouse position and the tooltip. Either always, or just when
it applies to the buffer contents. That way, maybe it won't hide the text
you are looking at.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Is it possible to use tooltips only for some modes
2005-08-05 20:38 ` Richard M. Stallman
@ 2005-08-09 10:10 ` Klaus Zeitler
0 siblings, 0 replies; 4+ messages in thread
From: Klaus Zeitler @ 2005-08-09 10:10 UTC (permalink / raw)
Cc: emacs-devel
>>>>> "Richard" == Richard M Stallman <rms@gnu.org> writes:
Richard>
Richard> Another idea: have a variable to specify the offset between the
Richard> mouse position and the tooltip. Either always, or just when it
Richard> applies to the buffer contents. That way, maybe it won't hide
Richard> the text you are looking at.
Sounds interesting too, though I think that it might be too complicated
to use, cause the position will depend on the buffer contents.
--
------------------------------------------
| Klaus Zeitler Lucent Technologies |
| Email: kzeitler@lucent.com |
------------------------------------------
---
What is worth doing is worth the trouble of asking somebody to do
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Is it possible to use tooltips only for some modes
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 23:18 ` Stefan Monnier
1 sibling, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2005-08-09 23:18 UTC (permalink / raw)
Cc: emacs-devel
> 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.
I've changed my tooltips to appear in the echo area (by turning off
tooltip-mode) and have lived happily ever since.
Stefan
^ 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).