From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#20164: 25.0.50; Do not tell users that `x-show-tip' is internal Date: Sun, 22 Mar 2015 09:40:22 -0700 (PDT) Message-ID: <7d0f8249-d653-40f9-8534-9ffe29d689a2@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1427042497 27552 80.91.229.3 (22 Mar 2015 16:41:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Mar 2015 16:41:37 +0000 (UTC) To: 20164@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 22 17:41:23 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YZiw4-0000j8-2m for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Mar 2015 17:41:12 +0100 Original-Received: from localhost ([::1]:51684 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZiw3-0000R3-DS for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Mar 2015 12:41:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZivz-0000QP-Vt for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 12:41:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZivv-0001Dw-0A for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 12:41:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42824) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZivu-0001Dq-TM for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 12:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YZivu-0003s0-LJ for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 12:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Mar 2015 16:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20164 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142704244114838 (code B ref -1); Sun, 22 Mar 2015 16:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Mar 2015 16:40:41 +0000 Original-Received: from localhost ([127.0.0.1]:60833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZivY-0003rD-Se for submit@debbugs.gnu.org; Sun, 22 Mar 2015 12:40:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34859) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZivT-0003qt-Lc for submit@debbugs.gnu.org; Sun, 22 Mar 2015 12:40:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZivN-0001AW-Lv for submit@debbugs.gnu.org; Sun, 22 Mar 2015 12:40:30 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:55258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZivN-0001AQ-JN for submit@debbugs.gnu.org; Sun, 22 Mar 2015 12:40:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZivM-0000K3-LN for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 12:40:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZivG-00017x-Ux for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 12:40:28 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:26576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZivG-000176-OW for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 12:40:22 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t2MGeLU9028674 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 22 Mar 2015 16:40:21 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t2MGeLUv002361 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sun, 22 Mar 2015 16:40:21 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t2MGeKOv004359 for ; Sun, 22 Mar 2015 16:40:21 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100787 Archived-At: The doc string says this: This is an internal function; Lisp code should call `tooltip-show'. Why? While it is true that you can get, using `tooltip-show', the behavior of arg PARMS by binding `tooltip-frame-parameters', the behavior of args DX and DY by binding `tooltip-x-offset' and `tooltip-y-offset', and the behavior of arg TIMEOUT by binding `tooltip-hide-delay' (which is not documented, BTW), you cannot the behavior of arg FRAME. And binding user options is not really a great way to control the function behavior, in general. So `tooltip-show' is not really a user-level substitute for "internal" `x-tooltip-show'. What's more, the doc of `tooltip-show' explicitly refers to how variable `x-max-tooltip-size' affects the behavior. Why refer to that "internal" variable? And if it is not "internal" then why does it have the prefix `x-'? Why isn't there a `tooltip-max-size' option, corresponding to the other `tooltip-*' options? It looks like this design/implementation is incomplete. It is great to have `tooltip-mode' and `tooltip-show'. But we should not be telling users to use only `tooltip-show' and not `x-show-tip'. I see no reason for that. The two functions are different; that's all. Neither should be considered more "internal" than the other. In GNU Emacs 25.0.50.1 (i686-pc-mingw32) of 2014-10-20 on LEG570 Bzr revision: 118168 rgm@gnu.org-20141020195941-icp42t8ttcnud09g Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --enable-checking=3Dyes,glyphs CPPFLAGS=3D-DGLYPH_DEBUG=3D1'