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: Re: Scrollbar thumbs Date: Thu, 05 Nov 2009 08:59:44 -0500 Message-ID: References: <03A2EC54153A4BB1AAE5AF2D2E2B7264@editkapc> <87aaz3jgkp.fsf@catnip.gol.com> <4AF1D60C.6080005@swipnet.se> <4AF29994.4040508@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1257430326 30306 80.91.229.12 (5 Nov 2009 14:12:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Nov 2009 14:12:06 +0000 (UTC) Cc: grischka , Miles Bader , joakim@verona.se, emacs-devel@gnu.org To: "Jan D." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 05 15:11:58 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 1N6347-0002I0-Ut for ged-emacs-devel@m.gmane.org; Thu, 05 Nov 2009 15:11:56 +0100 Original-Received: from localhost ([127.0.0.1]:50356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6346-0006u6-Qf for ged-emacs-devel@m.gmane.org; Thu, 05 Nov 2009 09:11:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N62sW-0000TR-17 for emacs-devel@gnu.org; Thu, 05 Nov 2009 08:59:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N62sR-0000Qn-83 for emacs-devel@gnu.org; Thu, 05 Nov 2009 08:59:55 -0500 Original-Received: from [199.232.76.173] (port=54762 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N62sR-0000Qb-0h for emacs-devel@gnu.org; Thu, 05 Nov 2009 08:59:51 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:52521 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N62sN-0000CX-Q9; Thu, 05 Nov 2009 08:59:47 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAPNo8kpFpZ9t/2dsb2JhbACBTt0ghD0EiQE X-IronPort-AV: E=Sophos;i="4.44,686,1249272000"; d="scan'208";a="48736750" Original-Received: from 69-165-159-109.dsl.teksavvy.com (HELO pastel.home) ([69.165.159.109]) by ironport2-out.pppoe.ca with ESMTP; 05 Nov 2009 08:59:44 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 440E19949; Thu, 5 Nov 2009 08:59:44 -0500 (EST) In-Reply-To: <4AF29994.4040508@swipnet.se> (Jan D.'s message of "Thu, 05 Nov 2009 10:23:32 +0100") 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:116657 Archived-At: >> In any case, given how widespread the problem is, it's clear that we >> can't expect the toolkit to adapt to Emacs. And since nobody has found >> a way yet to make Emacs DTRT, all we can do is provide various >> workarounds, which is what we've done until now. But what I suggest is >> that instead of each toolkit backend providing its own workaround, we >> should implement the workarounds in the generic code and even implement >> several of them and let the user choose which one suits him best. > Wouldn't that imply using just the features that the least able toolkit > provides? The native scrollbar does things that can't be done in Gtk+ for > example (not just overscroll, keybindings as well). I don't think so. It just means to centralize the workarounds (which mostly have to do with how the thumb size and position are computed and where/when they're updated) without impacting anything else of the functionality. Stefan