unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Documentation for GUD tooltips
       [not found] <16943.51590.58792.371431@farnswood.snap.net.nz>
@ 2005-03-11  1:48 ` Richard Stallman
  2005-03-11  8:30   ` Nick Roberts
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2005-03-11  1:48 UTC (permalink / raw)
  Cc: emacs-devel

    Its a bit more subtle than that. GUD tooltips use track-mouse (ordinary
    tooltips work at a lower level and don't rely on events in lisp).  For a GUD
    tooltip to work, the lisp-level mouse-movement event must be generated in the
    buffer with the overlay arrow and the mode of the selected buffer must belong
    to tooltip-gud-modes.  Note that the mouse-movement need not occur in the
    selected buffer.  The list `tooltip-gud-modes' includes gud-mode so that the
    user may move the mouse over a variable in the buffer of the source while the
    GUD buffer remains selected.

Why was it made to depend on the selected buffer?  Why implement such
bizarre behavior?  I think that counts as a bug; can we fix it?


If it is so hard to document, it will strike the user as a bug.

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

* Re: Documentation for GUD tooltips
  2005-03-11  1:48 ` Documentation for GUD tooltips Richard Stallman
@ 2005-03-11  8:30   ` Nick Roberts
  2005-03-12 22:16     ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Roberts @ 2005-03-11  8:30 UTC (permalink / raw)
  Cc: emacs-devel

 >     Its a bit more subtle than that. GUD tooltips use track-mouse (ordinary
 >     tooltips work at a lower level and don't rely on events in lisp).  For
 >     a GUD tooltip to work, the lisp-level mouse-movement event must be
 >     generated in the buffer with the overlay arrow and the mode of the
 >     selected buffer must belong to tooltip-gud-modes.  Note that the
 >     mouse-movement need not occur in the selected buffer.  The list
 >     `tooltip-gud-modes' includes gud-mode so that the user may move the
 >     mouse over a variable in the buffer of the source while the GUD buffer
 >     remains selected.
 > 
 > Why was it made to depend on the selected buffer?  Why implement such
 > bizarre behavior?  I think that counts as a bug; can we fix it?

Maybe it is a bug but no-one has complained about it, probably because not
many people use GUD tooltips. The comments in tooltip.el suggest that this is
a kludge to avoid display problems (Gerd Moellmann?), so I'm not sure that
there is an easy fix. There are other problems that I would like to fix such
as the fact that if GUD tooltips display in the echo area then so must
ordinary tooltips, but these are not showstoppers. Surely solving these
problems should wait till after the release?

Nick

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

* Re: Documentation for GUD tooltips
  2005-03-11  8:30   ` Nick Roberts
@ 2005-03-12 22:16     ` Richard Stallman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2005-03-12 22:16 UTC (permalink / raw)
  Cc: emacs-devel

    Maybe it is a bug but no-one has complained about it, probably because not
    many people use GUD tooltips. The comments in tooltip.el suggest that this is
    a kludge to avoid display problems (Gerd Moellmann?), so I'm not sure that
    there is an easy fix. There are other problems that I would like to fix such
    as the fact that if GUD tooltips display in the echo area then so must
    ordinary tooltips, but these are not showstoppers. Surely solving these
    problems should wait till after the release?

This is a bug fix; in principle, there is no reason to delay it.
If it would require fundamental changes, then we don't want to
install them now.  If it can be done in a localized way,
then it need not wait.

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

end of thread, other threads:[~2005-03-12 22:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <16943.51590.58792.371431@farnswood.snap.net.nz>
2005-03-11  1:48 ` Documentation for GUD tooltips Richard Stallman
2005-03-11  8:30   ` Nick Roberts
2005-03-12 22:16     ` Richard Stallman

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