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: Sun, 24 Apr 2016 10:40:20 +0200 Message-ID: <571C8674.5050702@gmx.at> References: <571AE240.2090103@live.com> <571B2EA6.80906@gmx.at> <571B866F.8060401@live.com> <571BAC1B.30408@gmx.at> <571BB03F.5000906@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 1461487283 31293 80.91.229.3 (24 Apr 2016 08:41:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Apr 2016 08:41:23 +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 Sun Apr 24 10:41: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 1auFbJ-0006vi-Ss for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Apr 2016 10:41:10 +0200 Original-Received: from localhost ([::1]:54559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auFbJ-0005Wk-DC for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Apr 2016 04:41:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auFbF-0005Um-63 for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2016 04:41:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auFbC-0003ik-0d for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2016 04:41:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auFbB-0003ig-TN for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2016 04:41:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1auFbB-0006ZI-MO for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2016 04:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Apr 2016 08:41: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.146148724125206 (code B ref 23341); Sun, 24 Apr 2016 08:41:01 +0000 Original-Received: (at 23341) by debbugs.gnu.org; 24 Apr 2016 08:40:41 +0000 Original-Received: from localhost ([127.0.0.1]:44468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1auFaq-0006YU-Ue for submit@debbugs.gnu.org; Sun, 24 Apr 2016 04:40:41 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:55575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1auFao-0006YG-SD for 23341@debbugs.gnu.org; Sun, 24 Apr 2016 04:40:39 -0400 Original-Received: from [192.168.1.103] ([212.95.7.62]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0Lu3J4-1btFvM1M2Q-011VVh; Sun, 24 Apr 2016 10:40:30 +0200 In-Reply-To: <571BB03F.5000906@live.com> X-Provags-ID: V03:K0:oxUv4SIw75CjpJjOHhlAWjl7TjzoENtuCzMxMeJAiUTKJ3w7M3u xmNE30WcA8bhtRi0FcvutVib16cWhNytSyHviEneEI5GbhaHyxsIy84u1rHOb3ILYp2WMM1 UUid/0T21bc9kR10/TyT8xvrAulhPDkkFmoZaR90o14I14mw9vPwdsghXXrBQk0CxRbSa6H DwgSuZWgcAkQsdlrPCY5w== X-UI-Out-Filterresults: notjunk:1;V01:K0:5f3bxLubyIQ=:RZE0czgPtoyXVurDIbBMog M/+K/SySDqWmUgvsk4sOylCfmxUDSB4AdfrOVDf19aoTk4uv7a58Uj1pYr6Ys5MWQHyb7RoJh dM68I4HH92xMDa2VnSfN+JXeCie/m4b6w0k+UVGZYRcpgia44k9+mp019Z+/mXfjB+DYOEULm 7dty6CN5DVAf/Rvk6LRA+CHPQOQ+2tfCIGe23IZzXEoxKeqYg9WbCdCpG+lJ+uRYAjSh2y9RK y3zmCLwk0lw/QUkPEtNLwDn7d51FcgxX+giqCeV38aI16537OX+LDpFp0+3EFD0Vz6cyBIBQS 67MZHGERAz0AXaXrQ4voncx5unsQhd01EY3FZBDwJTwiUIHFxRQamyhg+t+wD9nPXtNOyMZfb M41vLfkaoipVKbW1MD4XLilkzwB0zCreQeWagiL4s6PUpD5SQGKHpS7x4RaBTl8GMIRv9Idcw f6WScX1ztJPgFUe310Gk6PgM2uAWnIv18aQO53fe2X3rJR3jfJT0bJvZJehBS/IjUOviWp9O7 F9xhJZKi7C4UM49gzpz7s9UZzWhSEkutCx1weTUAl1f8qbf+67XwQnDldxjHhg6Ws0xyYCHJn wG8dX/Zf6cMG88h6GDnl2t+LUim/urUQiQ/Oqek+VvqydqAPX3cM/eJPcD6iImTvOAvLCRErZ wx9+zxlWjW36IvBtEjzC2lQM0IOqUWzX8SgSWwDBWaNjW2ZWTM1u64IPNqe0wF3tyYDu7O2A/ 4hOENwqnBqQ2z8X0sWYBWQBiy9H7P6W4iVhkmaFFGBD2KUXzl1Lr/qHbhMl8lFMrfaM/2NOJ 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:116733 Archived-At: > Isn't that one more burden that we impose on package developers for > essentially no good reason? Also. what do you mean by "use the value > by default"? Do you mean to initialize a defcustom? That won't work: > changing the value of tooltip-hied-delay would not update that of the > corresponding defcustom. Or do you mean that all packages using > tooltips should explicitly pass a hide-delay argument to pos-tip or > tooltip or x-show-tip, with that argument being (or > package-local-delay tooltip-hide-delay)? That sounds cumbersome and > error prone: if that's how we want things done, why is the delay > argument optional? Package =E2=80=98foo=E2=80=99 would evaluate the value of =E2=80=98foo-to= oltip-hide-delay=E2=80=99 which, by default, should yield the value =E2=80=98tooltip-hide-delay=E2=80= =99 evaluates to unless the user has customized =E2=80=98foo-tooltip-hide-delay=E2=80=99= =2E That value should be passed by =E2=80=98foo=E2=80=99 to =E2=80=98x-show-tip=E2=80=99= =2E If you can think of a better solution with less surprising results for the user please tell me. > In any case, do we gain anything from hardcoding 5 as the default? As Eli expained elsewhere this is an internal value which, ideally, is never used. And I fully share everything Eli said on this subject. martin