From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Scrollbar thumbs (was: Customizing the mode line) Date: Sat, 31 Oct 2009 16:38:08 -0400 Message-ID: References: <83skd1dta0.fsf@gnu.org> <87fx90ytzs.fsf@anzu.internal.golden-gryphon.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1257021507 26445 80.91.229.12 (31 Oct 2009 20:38:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Oct 2009 20:38:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 31 21:38:20 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N4KiK-0004ob-6V for ged-emacs-devel@m.gmane.org; Sat, 31 Oct 2009 21:38:20 +0100 Original-Received: from localhost ([127.0.0.1]:54209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4KiJ-0004t4-GK for ged-emacs-devel@m.gmane.org; Sat, 31 Oct 2009 16:38:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4KiE-0004sH-6h for emacs-devel@gnu.org; Sat, 31 Oct 2009 16:38:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4Ki9-0004pw-JU for emacs-devel@gnu.org; Sat, 31 Oct 2009 16:38:13 -0400 Original-Received: from [199.232.76.173] (port=53629 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4Ki9-0004pt-HU for emacs-devel@gnu.org; Sat, 31 Oct 2009 16:38:09 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:20611 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N4Ki9-0001kc-7q for emacs-devel@gnu.org; Sat, 31 Oct 2009 16:38:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar4EAAc97EpFpYlL/2dsb2JhbACBT9obhDkEiGY X-IronPort-AV: E=Sophos;i="4.44,659,1249272000"; d="scan'208";a="48479806" Original-Received: from 69-165-137-75.dsl.teksavvy.com (HELO pastel.home) ([69.165.137.75]) by ironport2-out.pppoe.ca with ESMTP; 31 Oct 2009 16:38:08 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 89DCF80CE; Sat, 31 Oct 2009 16:38:08 -0400 (EDT) In-Reply-To: <87fx90ytzs.fsf@anzu.internal.golden-gryphon.com> (Manoj Srivastava's message of "Sat, 31 Oct 2009 01:09:43 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:116532 Archived-At: > I also find the scrollbar somewhat confusing: When the end of > buffer is visible in the window, I would expect the scrollbar to reach > all the way to the bottom, but it does not. It does with some GUI and not with others. In principle it should. The only reason for it not to is to try and work around problems when dragging the scrollbar thumb, where many GUI toolkits are absurdly dogmatic and make it pretty much impossible for Emacs to do what it should. The more I see it, the more I think that rather than let the GUI code make this choice, we should have it be in the generic part of the code and the GUI code only chooses the default value, so users can choose to have a half-working drag-scroll if they prefer it (because it gives them proper display of the thumb size and position in return). Stefan