unofficial mirror of emacs-devel@gnu.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: Side effects in `tooltip-show'
Date: Mon, 17 Jan 2022 15:21:32 +0200	[thread overview]
Message-ID: <83iluiwl9f.fsf@gnu.org> (raw)
In-Reply-To: <87h7a27c01.fsf@yahoo.com> (message from Po Lu on Mon, 17 Jan 2022 21:00:46 +0800)

> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Mon, 17 Jan 2022 21:00:46 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > How about using 'equal' to compare the strings instead?  What are the
> > chances that two help-echo strings of 2 different tooltips will
> > compare equal without the properties, but not with the properties?
> 
> That's fine by me as well, but the resulting minor snafu where the
> tooltip might not be updated if the string contents are identical should
> be documented somewhere, I think.

In the comments to the code that makes  these comparisons, I think.



  reply	other threads:[~2022-01-17 13:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87czkr87yv.fsf.ref@yahoo.com>
2022-01-17  1:30 ` Side effects in `tooltip-show' Po Lu
2022-01-17 12:41   ` Eli Zaretskii
2022-01-17 13:00     ` Po Lu
2022-01-17 13:21       ` Eli Zaretskii [this message]
2022-01-17 13:29         ` Po Lu
2022-01-17 13:40           ` Eli Zaretskii
2022-01-17 13:41             ` Po Lu
2022-01-18  7:23   ` Pankaj Jangid
2022-01-18  7:55     ` 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

  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=83iluiwl9f.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 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).