From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christian Schlauer Newsgroups: gmane.emacs.devel Subject: Better default values for tooltip padding and `tooltip-hide-delay'? Date: Sun, 17 Jul 2005 17:10:14 +0200 Message-ID: Reply-To: cs-usenet@arcor.de NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1121613949 28159 80.91.229.2 (17 Jul 2005 15:25:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Jul 2005 15:25:49 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 17 17:25:47 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DuB1R-00064v-W1 for ged-emacs-devel@m.gmane.org; Sun, 17 Jul 2005 17:25:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DuB3L-0006PQ-3j for ged-emacs-devel@m.gmane.org; Sun, 17 Jul 2005 11:27:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DuB2L-00067F-UX for emacs-devel@gnu.org; Sun, 17 Jul 2005 11:26:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DuB1w-0005vq-AO for emacs-devel@gnu.org; Sun, 17 Jul 2005 11:26:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DuB1r-0005q4-V5 for emacs-devel@gnu.org; Sun, 17 Jul 2005 11:26:08 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DuB4w-00020g-A6 for emacs-devel@gnu.org; Sun, 17 Jul 2005 11:29:18 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DuAw3-0005fV-I2 for emacs-devel@gnu.org; Sun, 17 Jul 2005 17:20:07 +0200 Original-Received: from chrsc2.ikp.liu.se ([130.236.36.4]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jul 2005 17:20:07 +0200 Original-Received: from cs-usenet by chrsc2.ikp.liu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jul 2005 17:20:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 41 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: chrsc2.ikp.liu.se User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41032 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41032 Hello! So far, I used Emacs 21.3 on Windows which doesn't have tooltips, so tooltips are quite new for me. I would like to make two suggestions: 1. Since I started to use CVS Emacs, I always found the `padding' of the tooltips too large. Now I started to look if this is customizable and found `tooltip-frame-parameters', and indeed the padding can be changed -- it defaults to `(internal-border-width . 5)'. I suggest a change of `internal-border-width' to either 1 or 2 instead of 5. The reason is that the tooltips are too large and hide too much text in the buffer (for example in occur-mode buffers, where I like to highlight the current match by putting the mouse on that line so that that line is highlighted). A tooltip should be a `hint', but the large padding makes them more like a `banner'. (I don't want to turn them off either as I think they are quite useful -- they are just a little too big in my opinion.) Compared to the GNOME 2.10 tooltips, the default of 5 in Emacs seems to be similar, but I think (internal-border-width . 2) is aesthetically more pleasing, and (internal-border-width . 1) is also okay, but real minimalistic, so I suggest 2. 2. I also believed (until yesterday) that the only way to make a tooltip disappear is to move the mouse away from the `green area'. This impression was caused by the value of `tooltip-hide-delay', which defaults to 10 seconds. IMO, this is far too long. I experimented a little and I think that setting it to 3 or 4 seconds is much better and still long enough for reading the tooltip. 10 seconds until the tooltip goes away feels like an eternity. It would be great if some of you could try (setq tooltip-hide-delay 3) and (setq tooltip-hide-delay 4) as well as customize the `internal-border-width' of `tooltip-frame-parameters' to 2. What do you think? Regards, -- Christian Schlauer