all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: master 47dcf72: Fix tooltip text properties showing up in dragged text
Date: Thu, 17 Mar 2022 08:49:36 +0200	[thread overview]
Message-ID: <83pmmlgjjz.fsf@gnu.org> (raw)
In-Reply-To: <87a6dppgd5.fsf@yahoo.com> (message from Po Lu on Thu, 17 Mar 2022 08:33:42 +0800)

> 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	other threads:[~2022-03-17  6:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-16 12:34 master 47dcf72: Fix tooltip text properties showing up in dragged text Eli Zaretskii
2022-03-16 13:29 ` Po Lu
2022-03-16 13:42   ` Eli Zaretskii
2022-03-16 13:45     ` Po Lu
2022-03-16 14:25       ` Eli Zaretskii
2022-03-17  0:33         ` Po Lu
2022-03-17  6:49           ` Eli Zaretskii [this message]
2022-03-17  7:04             ` Po Lu

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

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

  git send-email \
    --in-reply-to=83pmmlgjjz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.