From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Scrollbar bug on OS X Date: Fri, 08 Apr 2005 10:32:50 -0400 Message-ID: References: <7ca1709813602da58a139cee58fb4c63@gmail.com> <3b9c4e2f33d37fed55f640dcafbc8d65@gmail.com> <87is31i8jq.fsf-monnier+emacs@gnu.org> <0ba853825b580f74347416c2c0b4a169@gmail.com> <87vf70ausz.fsf-monnier+emacs@gnu.org> <5b72982df8c370d3a58358de397046c8@gmail.com> <4412c862c2ed4780ad36de7af86c88eb@swipnet.se> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1112971688 26811 80.91.229.2 (8 Apr 2005 14:48:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Apr 2005 14:48:08 +0000 (UTC) Cc: david.reitter@gmail.com, snogglethorpe@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 08 16:48:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJukY-0008Rw-4H for ged-emacs-devel@m.gmane.org; Fri, 08 Apr 2005 16:46:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJuK3-0002DO-Sw for ged-emacs-devel@m.gmane.org; Fri, 08 Apr 2005 10:18:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DJuH9-0001G3-HZ for emacs-devel@gnu.org; Fri, 08 Apr 2005 10:15:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DJuGh-00016y-FM for emacs-devel@gnu.org; Fri, 08 Apr 2005 10:15:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJuGe-0000xR-Qw for emacs-devel@gnu.org; Fri, 08 Apr 2005 10:15:29 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DJuYl-0003lw-Ny for emacs-devel@gnu.org; Fri, 08 Apr 2005 10:34:11 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DJuXS-0000JJ-HH; Fri, 08 Apr 2005 10:32:50 -0400 Original-To: "Jan D." In-reply-to: <4412c862c2ed4780ad36de7af86c88eb@swipnet.se> (jan.h.d@swipnet.se) 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:35763 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35763 I looked back at the 2003 conversation. Taylor simply refused to implement behavior that fits logically with Emacs, demanding that we change Emacs to put actual blank lines in the bottom of the screen. It would be absurd to change Emacs's text model to fit the demands of a GUI toolkit. However, we could consider computing the "total size" for scrolling to include N fictitious final blank lines, N = window height. With this technique, the slider would not touch the bottom until you have scrolled as far as you can. This has an undesirable feature: it would mean that you can't scroll to put point-max at the bottom of the screen just by looking at the scroll bar. However, I am not sure that matters terribly, since you can manage to see when you're at the end in other ways (such as by looking for Bot in the mode line). Also, it avoids another undesirable feature, which is that the visible slider would shrink as fewer lines remain at the top of the screen. Perhaps we should try this for GTK and LessTif scroll bars.