From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20164: 25.0.50; Do not tell users that `x-show-tip' is internal Date: Fri, 02 Aug 2019 21:57:39 +0300 Message-ID: <835znffl98.fsf@gnu.org> References: <7d0f8249-d653-40f9-8534-9ffe29d689a2@default> <87ftmjrbsy.fsf@mouse.gnus.org> <83imrffy2i.fsf@gnu.org> <87imrfphpx.fsf@mouse.gnus.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="6525"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 20164@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 02 20:58:32 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htcl6-0001Z9-AU for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Aug 2019 20:58:32 +0200 Original-Received: from localhost ([::1]:37020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htcl5-00057l-5S for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Aug 2019 14:58:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40876) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htckd-00057e-Ps for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2019 14:58:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1htckc-0002Ef-MS for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2019 14:58:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48898) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1htckc-0002ES-Ix for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2019 14:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1htckc-0004oV-FA for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2019 14:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Aug 2019 18:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20164 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 20164-submit@debbugs.gnu.org id=B20164.156477227418488 (code B ref 20164); Fri, 02 Aug 2019 18:58:02 +0000 Original-Received: (at 20164) by debbugs.gnu.org; 2 Aug 2019 18:57:54 +0000 Original-Received: from localhost ([127.0.0.1]:57719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htckT-0004o8-Tu for submit@debbugs.gnu.org; Fri, 02 Aug 2019 14:57:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htckS-0004ns-2L for 20164@debbugs.gnu.org; Fri, 02 Aug 2019 14:57:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1htckM-00023j-HQ; Fri, 02 Aug 2019 14:57:46 -0400 Original-Received: from [176.228.60.248] (port=3649 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1htckJ-0006m2-VS; Fri, 02 Aug 2019 14:57:44 -0400 In-reply-to: <87imrfphpx.fsf@mouse.gnus.org> (message from Lars Ingebrigtsen on Fri, 02 Aug 2019 20:03:54 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164379 Archived-At: > From: Lars Ingebrigtsen > Cc: drew.adams@oracle.com, 20164@debbugs.gnu.org > Date: Fri, 02 Aug 2019 20:03:54 +0200 > > Eli Zaretskii 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.