emacs-devel
[Top][All Lists]
Advanced

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

Re: master 47dcf72: Fix tooltip text properties showing up in dragged te


From: Eli Zaretskii
Subject: Re: master 47dcf72: Fix tooltip text properties showing up in dragged text
Date: Thu, 17 Mar 2022 08:49:36 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Thu, 17 Mar 2022 08:33:42 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > The tooltip display in the echo area also doesn't follow the mouse, so
> > it doesn't sound to me as if this case is a significant difference.
> > Users who have tooltip-use-echo-area non-nil already indicate that
> > they "give up" the position of the tool-tip text display on the
> > screen, and don't mind to see all the tool-tips in the same place
> > regardless of where the mouse is.
> 
> I thought the reason for displaying tooltips during mouse dragging was
> that it allowed to provide some visual feedback as to what text is being
> dragged and where it will end up.
> 
> Displaying tooltips in the echo area will naturally give up on the
> latter.

But isn't that better than not showing anything at all (which is what
will happen with the current code)?  Suppose we are talking about a
terminal where x-show-tip doesn't work at all, like a TTY with a
mouse, or when tooltip-mode is turned off?

> But if you insist, I can make the changes conditional on tooltips being
> displayed normally (i.e. not in the echo area).

I'd rather suggest that you call tooltip-show-help-non-mode directly
when tooltip-use-echo-area is non-nil.  Or am I missing something?



reply via email to

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