GNU bug report logs -
#20164
25.0.50; Do not tell users that `x-show-tip' is internal
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Sun, 22 Mar 2015 16:41:02 UTC
Severity: wishlist
Tags: wontfix
Found in version 25.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #24 received at 20164 <at> debbugs.gnu.org (full text, mbox):
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: drew.adams <at> oracle.com, 20164 <at> debbugs.gnu.org
> Date: Fri, 02 Aug 2019 20:03:54 +0200
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> I agree that the calling conventions for `x-show-tip' seems to be much
> >> nicer than `tooltip-show'.
> >
> > If you do, please explain it to me, because the above arguments don't
> > convince me, certainly not that x-show-tip's API is "nicer". Maybe
> > I'm missing something.
>
> I think explicit parameters to a function is almost always to be
> preferred to binding variables and then calling a function that takes no
> parameters. In this case, you're supposed bind `tooltip-{x,y}-offset'
> according to the doc string.
Only if you for some reason don't like the defaults. Which should
happen rarely, if ever.
> > https://lists.gnu.org/archive/html/emacs-pretest-bug/2007-03/msg00261.html
> >
> > The conclusion to take out of that discussion is that whoever uses
> > x-show-tip should know very well what they are doing, which is another
> > way of saying "kids, don't try that at home", a.k.a. "an internal
> > function".
>
> Makes sense to me, and I'm closing this bug report.
Thanks.
This bug report was last modified 5 years and 291 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.