all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Po Lu <luangruo@yahoo.com>
Cc: "clement.pitclaudel@live.com" <clement.pitclaudel@live.com>,
	Lars Ingebrigtsen <larsi@gnus.org>, Eli Zaretskii <eliz@gnu.org>,
	"23341@debbugs.gnu.org" <23341@debbugs.gnu.org>,
	martin rudalics <rudalics@gmx.at>
Subject: bug#23341: x-show-tip does not respect the value of tooltip-hide-delay, and the default tooltip timeout isn't configurable
Date: Tue, 3 May 2022 01:32:25 +0000	[thread overview]
Message-ID: <SJ0PR10MB548847F1124B558EDA14D9F8F3C09@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <87v8uno47a.fsf@yahoo.com>

> > `tooltip-show' doesn't let you do what `x-show-tip'
> > does.  That's what this discussion is about (IMHO).
> 
> And what exactly doesn't `tooltip-show' let you do, 
> that `x-show-tip'can?

Everything that's not determined by the specific
call that `tooltip-show' makes of `x-show-tip'.

Obviously.

That's a very specific, narrow call - it nails
down almost everything that `x-show-tip' takes
as an argument.

;; After getting the frame parameters from
;; `tooltip-frame-parameters', and perhaps
;; updating the foreground and background from
;; those of face `tooltip':
;;
(x-show-tip (propertize text 'face 'tooltip)
		 (selected-frame)
		 **THOSE-TOOLTIP-PARAMETERS**
		 tooltip-hide-delay
		 tooltip-x-offset
		 tooltip-y-offset))

IOW, the only possible input to the whole deal,
affecting the appearance, is TEXT.  All the
rest is baked in. 

Now, you can say that code could always bind
all of those `tooltip-*' thingies around a call
to `tooltip-show'.  Sure, it could.  It could
end up redefining, in effect, `x-tooltip-show'.

I'd say it makes more sense to (also) let users
use the more general, more versatile function
itself, `x-show-tip' - just as `tooltip-show' does.

What's good for the goose is good for the gander.





  reply	other threads:[~2022-05-03  1:32 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-23  2:47 bug#23341: x-show-tip does not respect the value of tooltip-hide-delay, and the default tooltip timeout isn't configurable Clément Pit--Claudel
2016-04-23  6:53 ` Eli Zaretskii
2016-04-23 14:22   ` Clément Pit--Claudel
2016-04-23 14:36     ` Eli Zaretskii
2016-04-23 15:26       ` Clément Pit--Claudel
2016-04-23 17:54         ` Eli Zaretskii
2016-04-23 22:33           ` Clément Pit--Claudel
2016-04-24  6:08             ` Eli Zaretskii
2016-04-24 14:43               ` Clément Pit--Claudel
2016-04-24 15:59                 ` Eli Zaretskii
2016-04-23  8:13 ` martin rudalics
2016-04-23 14:27   ` Clément Pit--Claudel
2016-04-23 17:08     ` martin rudalics
2016-04-23 17:26       ` Clément Pit--Claudel
2016-04-24  8:40         ` martin rudalics
2016-04-24 14:40           ` Clément Pit--Claudel
2016-04-24 15:57             ` Eli Zaretskii
2016-04-24 16:30               ` Clément Pit--Claudel
2016-04-26  6:35                 ` martin rudalics
2016-04-26 11:25                   ` Dmitry Gutov
2022-04-30 15:10 ` Lars Ingebrigtsen
2022-04-30 15:30   ` Eli Zaretskii
2022-04-30 15:38     ` Lars Ingebrigtsen
2022-04-30 16:01       ` Eli Zaretskii
2022-04-30 16:22         ` Lars Ingebrigtsen
2022-04-30 16:50           ` Eli Zaretskii
2022-05-01  0:12           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01  8:37             ` Lars Ingebrigtsen
2022-05-01  9:19               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01  9:53                 ` Lars Ingebrigtsen
2022-05-01 10:38                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01 10:39                     ` Lars Ingebrigtsen
2022-05-01 11:00                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01 11:42                         ` Lars Ingebrigtsen
2022-05-01 12:56                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-01 16:19                             ` Drew Adams
2022-05-02  0:35                               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-02  2:19                                 ` Drew Adams
2022-05-02  2:50                                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-02 14:53                                     ` Drew Adams
2022-05-03  0:22                                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-03  1:32                                         ` Drew Adams [this message]
2022-05-03  2:01                                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-03  4:16                                             ` Drew Adams
2022-05-03  4:44                                               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=SJ0PR10MB548847F1124B558EDA14D9F8F3C09@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=23341@debbugs.gnu.org \
    --cc=clement.pitclaudel@live.com \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.org \
    --cc=luangruo@yahoo.com \
    --cc=rudalics@gmx.at \
    /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.