From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: Gtk scrollbar: thumb too short Date: Fri, 11 Apr 2003 16:36:15 +0000 (UTC) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <844r55f7yr.fsf@lucy.is.informatik.uni-duisburg.de> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1050079519 16797 80.91.224.249 (11 Apr 2003 16:45:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 11 Apr 2003 16:45:19 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 11 18:45:18 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 1941d1-0004Dp-00 for ; Fri, 11 Apr 2003 18:43:51 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 1941iZ-0006Sr-00 for ; Fri, 11 Apr 2003 18:49:35 +0200 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 1941cC-0000Ra-03 for emacs-devel@quimby.gnus.org; Fri, 11 Apr 2003 12:43:00 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 1941bn-0000JX-00 for emacs-devel@gnu.org; Fri, 11 Apr 2003 12:42:35 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 1941W4-0003rv-00 for emacs-devel@gnu.org; Fri, 11 Apr 2003 12:36:41 -0400 Original-Received: from megalith.rattlesnake.com ([140.186.114.245] helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 1941Vj-0003iX-00 for emacs-devel@gnu.org; Fri, 11 Apr 2003 12:36:20 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Fri, 11 Apr 2003 16:36:15 +0000 (UTC) Original-To: emacs-devel@gnu.org In-reply-to: <844r55f7yr.fsf@lucy.is.informatik.uni-duisburg.de> (kai.grossjohann@gmx.net) 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:13159 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13159 kai.grossjohann@gmx.net wrote: Dragging the thumb to the beginning of the buffer does not require precision work. So it would be nice if it wouldn't require precision work for dragging to the end of the buffer, either. In most of the buffers I use, going to the end does not require precision work; I just checked! Precision work may be required if you visit a long buffer, such as the NEWS buffer, and you are going to a point that is not quite the end. However, I don't think the scroll bar and thumb should be adapted to this kind of positioning. (Note that the scroll bar and thumb work fine for positioning text in a buffer as short as this *mail* buffer.) Instead of using the scroll bar and thumb for precision work in a long buffer, I use the arrow key, which I have bound to: (defun scroll-forward-one-line () "Scroll the text up one line. A replacement for the three keystroke sequence C-u 1 C-v." (interactive) (scroll-up 1)) (global-set-key [down] 'scroll-forward-one-line) ; Down arrow key and the nearly equivalent `scroll-backward-one-line', which I have bound to the arrow key. (Interestingly, the `(scroll-up 1)' expression does not consider a line consisting of a single, final newline as the last line of a buffer, but the line before it, which may also be a single newline. I never noticed this characteristic before.) When I am testing a `plain vanilla' GNU Emacs stated with emacs -q --no-site-file --eval '(blink-cursor-mode 0)' I simply use the necessary three keystroke sequence. -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com