From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Gtk scrollbar: thumb too short Date: Fri, 28 Mar 2003 07:34:16 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200303281334.HAA28417@eel.dms.auburn.edu> References: <20030325193739.ZGIN3924.fep01-svc.swip.net@gaffa.gaia.swipnet.se> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1048858683 17585 80.91.224.249 (28 Mar 2003 13:38:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 28 Mar 2003 13:38:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Mar 28 14:37:59 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18yu3T-0004Yy-00 for ; Fri, 28 Mar 2003 14:37:59 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18yu5q-0004Kh-00 for ; Fri, 28 Mar 2003 14:40:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18yu0x-0002PG-08 for emacs-devel@quimby.gnus.org; Fri, 28 Mar 2003 08:35:23 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18yu0a-0002GL-00 for emacs-devel@gnu.org; Fri, 28 Mar 2003 08:35:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18yu06-0001qy-00 for emacs-devel@gnu.org; Fri, 28 Mar 2003 08:34:31 -0500 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ytyz-0001M3-00 for emacs-devel@gnu.org; Fri, 28 Mar 2003 08:33:21 -0500 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) h2SDXCB05037; Fri, 28 Mar 2003 07:33:12 -0600 (CST) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id HAA28417; Fri, 28 Mar 2003 07:34:16 -0600 (CST) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: bob@rattlesnake.com In-reply-to: (bob@rattlesnake.com) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12694 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12694 Robert Chassell wrote: I prefer that the thumb show the visible accessible portion of the whole, that is to say, the part that is accessible either because it is visible or because it is not hidden by narrowing. This means that if you make some text invisible, for example by type `C-c C-t' (hide-body) in outline mode, the thumb grows larger. Likewise, if you make some text invisible and inaccessible by narrowing to a smaller region, the thumb grows larger. This is the way it is done in Emacs 20.7. I believe that there may be some confusion here. If you make stuff invisible in such a way that the total amount of text (visible and invisible), between the position at the top of the screen and the one at the bottom of the screen, increases, the thumb size increases. If you are careful to only make stuff outside the screen invisible, nothing happens to the thumb. (Tested in Emacs 20.7, native scrollbars.) M-1 C-x $ is a good way to experiment, with text deliberately indented for he purpose. In other words, what the thumb seems to measure is the proportion of total (visible or invisible) text between top and bottom of the screen compared to the total text in the buffer. This seems to be the behavior in Emacs 20.7 with native scrollbars, as well as in the current 21.3.50 CVS, both with native (./configure --without-toolkit-scroll-bars) and with Xaw3d (no options to configure) scroll bars. Sincerely, Luc.