From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Newsgroups: gmane.emacs.bugs Subject: bug#23341: x-show-tip does not respect the value of tooltip-hide-delay, and the default tooltip timeout isn't configurable Date: Sat, 23 Apr 2016 10:27:59 -0400 Message-ID: <571B866F.8060401@live.com> References: <571AE240.2090103@live.com> <571B2EA6.80906@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ci6snAm06n9S3s0cJ54WpdKi7e6RMHIi7" X-Trace: ger.gmane.org 1461421763 12939 80.91.229.3 (23 Apr 2016 14:29:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Apr 2016 14:29:23 +0000 (UTC) To: martin rudalics , 23341@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 23 16:29:12 2016 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 1atyYY-0002wQ-1F for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Apr 2016 16:29:10 +0200 Original-Received: from localhost ([::1]:52659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atyYX-0002ho-DB for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Apr 2016 10:29:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atyYT-0002fC-KU for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 10:29:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atyYQ-0007jL-CQ for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 10:29:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atyYQ-0007it-7s for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 10:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1atyYQ-0004yQ-0R for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 10:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Apr 2016 14:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23341 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23341-submit@debbugs.gnu.org id=B23341.146142168919056 (code B ref 23341); Sat, 23 Apr 2016 14:29:01 +0000 Original-Received: (at 23341) by debbugs.gnu.org; 23 Apr 2016 14:28:09 +0000 Original-Received: from localhost ([127.0.0.1]:44161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1atyXZ-0004xI-0s for submit@debbugs.gnu.org; Sat, 23 Apr 2016 10:28:09 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.130]:65062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1atyXX-0004ws-9h for 23341@debbugs.gnu.org; Sat, 23 Apr 2016 10:28:07 -0400 Original-Received: from [18.189.83.142] ([18.189.83.142]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0LehKM-1bVq7K44Fi-00qQaQ; Sat, 23 Apr 2016 16:28:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <571B2EA6.80906@gmx.at> X-Provags-ID: V03:K0:VmNMO/1r6/eNHQShFkqruIljxFbFEdcQkRsMnrBZLACML4IIfTp v4PCZQpeY6v2EXL4j7ZrlBUzx18LETwlTDjOly/w1dSufNXsVFxQ6/H0F3zraYvp2Fym1NU 6DB4nVSg/TTvtgvK228ESuTjPVDdIbawND+3wac7RbBch0A1nFkROebwEcY6LnsJzvbxWMy hl3kBBPM/YQ6aKdh0S0Gw== X-UI-Out-Filterresults: notjunk:1;V01:K0:MNQq96EehTw=:JEm6HCcEormp76UCoQ/+vo Zeiee/KNXB3O5KTKorCtfY3wzGzXdlDdAhC/dF2S5iqBmLXaOyZj6dCRxnXlI2wSZp7A4eccl YQluOm+EbNqJh+AB+F2ZX7c/n45v4ZoVOt3pFtypwllB1mtmcSvY5hDaXP0Wut/85RW3JapR4 Ntols1XFhH7lPyu02SvT7tOiNcrBYsf4/zv+yofumms9+W4UDHDL2jiUMkSYFMXl9qXbQAouS tiViqve6lwkp6AysEsh+YT/NkJwufHOd97VlH9JiricpSgKvVLtIhPDKP8qaac8kqeZ1WpgWk OLFCPYl0k5U89QygC9rC5IAM8dMCPyuYuJ2b06aWR2gbNKxCn8uI+DN0zAyDOLgLCHVL31Z2E 7clgIgThYcyXy3m5e2UUyRRleXq4gYQm+k/uKFA1Tpu7Or2iYjxiFblF1ERwm94V1EsTZ7nXq 0zL6KUVm+X8sls7XX5BhKEp6VAzHBknems00vASChEelvZ4neELaXFDI6XA7BL/TAaXYV6BsC 8mwx+N5uefCfuYovNz5fORtwHVirOQxIj6fIZsZosU8fBtRKfbgn//ZA9jpc2D18whOu6nn90 NmRyBu3TQ7g6rt3srK6Z+3ZvMMxjYH2J2S1Y8vR1C/JAkqXAESVM3HwfNhMTcVO03Dzt4ZTlV lS2+3BctDfNFge6StZe9C+RGtCEbLhjDDQD5ecAbbAS09UfzHX1VwQoCrPLK0/WvJGmk= 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: 208.118.235.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:116702 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Ci6snAm06n9S3s0cJ54WpdKi7e6RMHIi7 Content-Type: multipart/mixed; boundary="5LUdus3DC7QkNeRCu0Mpmeoac6aSR1LhD" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: martin rudalics , 23341@debbugs.gnu.org Message-ID: <571B866F.8060401@live.com> Subject: Re: bug#23341: x-show-tip does not respect the value of tooltip-hide-delay, and the default tooltip timeout isn't configurable References: <571AE240.2090103@live.com> <571B2EA6.80906@gmx.at> In-Reply-To: <571B2EA6.80906@gmx.at> --5LUdus3DC7QkNeRCu0Mpmeoac6aSR1LhD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-04-23 04:13, martin rudalics wrote: >> It would be nice to have a lisp-configurable default for tooltip >> timeout; currently, it is hardcoded to 5 seconds in x_show_tip. >> >> There already exists a variable that could serve this purpose: >> tooltip-hide-delay. >=20 > A function that calls =E2=80=98tooltip-show=E2=80=99 doesn't have to ca= re because the > latter already uses =E2=80=98tooltip-hide-delay=E2=80=99 as TIMEOUT arg= ument for > =E2=80=98x-show-tip=E2=80=99. That's true :) > A function that calls =E2=80=98x-show-tip=E2=80=99 directly should gene= rally use > =E2=80=98tooltip-hide-delay=E2=80=99 as TIMEOUT argument. If it doesn'= t, it should > provide a customizable variable to use as TIMEOUT argument instead. Maybe, but this isn't a documented convention AFAICS, and it's inconvenie= nt to have to dig to find which default to set. There's tooltip, pos-tip, 10 packages that depend on pos-tip, and probabl= y a bunch more depending on tooltip. It would be nice to have one setting= that applies in all cases where other customization has not happened, in= stead of using a hardcoded default. Don't you think? I opened this issue based on the experience that it took me some non-triv= ial amount of time to figure out that I had to configure flycheck-pos-tip= -delay, and not tooltip-delay. flycheck-pos-tip follows the convention th= at you outlined above, but that convention wasn't obvious to me, and does= n't yield a consistent or very nice experience (any time I install a pack= age that uses tooltips, I need to wonder configure its timeout, unless it= uses tooltip =E2=80=94 which I can't easily guess). Cheers, Cl=C3=A9ment. --5LUdus3DC7QkNeRCu0Mpmeoac6aSR1LhD-- --Ci6snAm06n9S3s0cJ54WpdKi7e6RMHIi7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJXG4ZvAAoJEPqg+cTm90wjWiUQALTbvMdDQzguz0imRFLTXaxJ F4HZI7B+jiDq2L9k/LcmiJ42baYO2ocz20Q2/9bcoPO0/af4kdnV9t4f+3IOu7El kfKvz/AizQe1MNt52Qfvk1AyjfoPzNmm/z6kZ3H8+NYcxerklVJHH123DCR4wLrh XmXsKX0fs6OlN+SMdh9UVNRtMoZCqjyopm2wvaQ4nt/wanOKcV2YUfaxHfbqi7G+ rs53kNA2xPtXuYJb6J23Fx0Gsj60RIJL/ahtrTs7gsZ7SjcNVGmm1MRo8yV/3BHO bk7PEyLqRqaXu8Hq/jWwsrvoU7iTXKtt5kFmHf0VhPkl8LTr8M7FTmaxg2muGFky LbA/qv0em2ShA849BzruKcVR+TwR21skzXL27lz2SBREy50zk7NizbFa1iD7i9u0 nxxHCdrjJM8XjdIbm/yfaruup6cl3Z0s9EVsHg2GnqyDM6oj6/4H3xiONAFXvNLl N5Ky1U/7zFDDFJ/ERPuxzxD74wZx1Im0taWas93kwiUqP6YjNdXXLaVimCC0qo0a Fd2AboOtbPycKYjrBObsF5PpoLNLisezkOY7Bs8ritivl1RXGyh1Oh+rWU9/bhMp pqxLM9nCuUXoDcEb6LDSIIyRkqhw68eQ4LZVS1dkGsn8wKdbHhALDJ1vl4a+sImh L4Q0r79VyvRcZm0l74fU =6h3j -----END PGP SIGNATURE----- --Ci6snAm06n9S3s0cJ54WpdKi7e6RMHIi7--