From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics 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 19:08:43 +0200 Message-ID: <571BAC1B.30408@gmx.at> References: <571AE240.2090103@live.com> <571B2EA6.80906@gmx.at> <571B866F.8060401@live.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1461431364 24164 80.91.229.3 (23 Apr 2016 17:09:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Apr 2016 17:09:24 +0000 (UTC) To: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel , 23341@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 23 19:09:13 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 1au13Q-00081w-NU for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Apr 2016 19:09:12 +0200 Original-Received: from localhost ([::1]:53013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au13Q-0000kC-0o for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Apr 2016 13:09:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au13L-0000gU-Mt for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 13:09:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1au13G-0001NA-LQ for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 13:09:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au13G-0001N6-I0 for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 13:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1au13G-0000Dt-Bi for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2016 13:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Apr 2016 17:09:02 +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.1461431339845 (code B ref 23341); Sat, 23 Apr 2016 17:09:02 +0000 Original-Received: (at 23341) by debbugs.gnu.org; 23 Apr 2016 17:08:59 +0000 Original-Received: from localhost ([127.0.0.1]:44238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1au13C-0000DZ-UD for submit@debbugs.gnu.org; Sat, 23 Apr 2016 13:08:59 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:58512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1au13B-0000DN-Pv for 23341@debbugs.gnu.org; Sat, 23 Apr 2016 13:08:58 -0400 Original-Received: from [192.168.1.101] ([212.95.7.40]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lh7sF-1bXjVv3vOR-00oV4X; Sat, 23 Apr 2016 19:08:49 +0200 In-Reply-To: <571B866F.8060401@live.com> X-Provags-ID: V03:K0:GpWP08Ri4mirlc1gV2gxBXy+v9oaee9magEfdpZOwR3St+eKU/I fwt/qXipeDAB2cltnFdf2quSFdejRKrHupesH33NTbpbGRtmIj9ktd4vzGGl+g0iyjtr1iC w55StIxWQxStWXWuVX6ivUl87lOgGy5S10FDK8aF00uLT+JPqj54yFkBi9gkWWqJRMGHCvv 5bFLplz2eVj5SItGvbeEQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:AaAO1TFjues=:YgpdawHFYrngx934WGexOQ EOzrT300fzJQW6hg3ns+6mvdqwBLG5p7/pg+7nHdKujtxcc/YYPoXIPv2oXeQcQKTYRcXYRu6 pRELT41dKm0b9eeu+pitN/ctHHXJ0J2mMeEQx7L/jbXa1n14sNy3LzOsyv19ySMU6fckCyaac aUA2+aCNDV+X18LBp4y1CwLL7uoeARlV8coFC43LLGmkwLfEvF438QXTBdTuLOnIPlmga/EGY 5m258zT81JJkJEG0qBs6yysjk2/NLnBW8DbmMU6jqnR44Ql3RxZ7PmixVO+4v17PLxFMs5UxD Fpzfwuk6fAtQhVWdfMWiJf5SnrKPMJAotopNiofWpS2vXJ83wdpiQaSNDlfw8AMkePTdRszAZ toyNfmX25tRzwyK2IA8QQblieHcO/4iQG5YmKj/omaVzwdiUqCVYH6qFbRwAd3a6HJ+p3J7Af 8J9FN0RM2Ko+zKEv1TG/MFKqYi3Bq6AFX/mf76Z5uwjpKnqPAex8fvCxVJexWZc3UeCwQZ9qi 9BRGd5p9J/pzexi2wx5tYv1iDli+Ul4u5qm1nUR9y3eY+4gd9zQkvlUPlkgdzPQeVONSgVna2 H88t0KSL5WyH7duXQ5ar6UQsibHdfczgvHOt32mHGxoxqXOWdkqZr3pTyKpTKc9mY8VaRrmWF CS5r+7505o3sVETfdIYB6Rq5dBW4BDy3n8C0d9s1ip9WbIrr6eZ7Q9oJDZJrn3Fwb9IwR+2wu HnjzmDB36UFgpB+0xCTuAd8mmd1/BMlTaOyea5kRMqvwpMGtOEVrwlM+PcDutzov7JGlT+kC 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:116711 Archived-At: >> A function that calls =E2=80=98x-show-tip=E2=80=99 directly should ge= nerally use >> =E2=80=98tooltip-hide-delay=E2=80=99 as TIMEOUT argument. If it does= n't, it should >> provide a customizable variable to use as TIMEOUT argument instead. > > Maybe, but this isn't a documented convention AFAICS, We can hardly say in the doc-string of =E2=80=98x-show-tip=E2=80=99 that This is an internal function; Lisp code should call `tooltip-show'. and then explain how to call this function from Lisp code. > and it's > inconvenient to have to dig to find which default to set. There's > tooltip, pos-tip, 10 packages that depend on pos-tip, and probably 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, > instead of using a hardcoded default. Don't you think? > > I opened this issue based on the experience that it took me some > non-trivial amount of time to figure out that I had to configure > flycheck-pos-tip-delay, and not tooltip-delay. I don't know flycheck but =E2=80=98tooltip-delay=E2=80=99 is the delay _b= efore_ showing the tip. Earlier we were talking about =E2=80=98tooltip-hide-delay=E2=80= =99. > flycheck-pos-tip > follows the convention that you outlined above, but that convention > wasn't obvious to me, and doesn't yield a consistent or very nice > experience (any time I install a package that uses tooltips, I need to= > wonder configure its timeout, unless it uses tooltip =E2=80=94 which I= can't > easily guess). Any package that optionally provides its own delay for hiding tips should, by default, use the value of =E2=80=98tooltip-hide-delay=E2=80=99= for that option. martin