From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: --without-toolkit-scroll-bars at runtime? Date: Tue, 22 Mar 2005 22:47:50 +0100 Message-ID: <0f00e53794f58cdf46cf1f85d0bb31af@swipnet.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111528497 15489 80.91.229.2 (22 Mar 2005 21:54:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Mar 2005 21:54:57 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 22 22:54:56 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DDrEY-0003On-18 for ged-emacs-devel@m.gmane.org; Tue, 22 Mar 2005 22:48:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDrVu-00076v-V9 for ged-emacs-devel@m.gmane.org; Tue, 22 Mar 2005 17:06:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DDrU3-0006MX-Fb for emacs-devel@gnu.org; Tue, 22 Mar 2005 17:04:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DDrTy-0006KE-Lu for emacs-devel@gnu.org; Tue, 22 Mar 2005 17:04:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDrTy-0006J8-Ax for emacs-devel@gnu.org; Tue, 22 Mar 2005 17:04:14 -0500 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DDrER-0003Dq-TK; Tue, 22 Mar 2005 16:48:12 -0500 Original-Received: from coolsville.localdomain ([83.226.180.210] [83.226.180.210]) by mxfep02.bredband.com with ESMTP id <20050322214810.OZWB22685.mxfep02.bredband.com@coolsville.localdomain>; Tue, 22 Mar 2005 22:48:10 +0100 In-Reply-To: Original-To: miles@gnu.org, snogglethorpe@gmail.com X-Mailer: Apple Mail (2.619.2) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34998 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34998 > On Mon, 21 Mar 2005 11:28:57 -0500, Stefan Monnier > wrote: >> Similarly, it would be good to provide a Gtk "theme" that gives >> Xaw-like >> behavior (or some other: there used to be a variety of useful >> behaviors in >> various scrollbars, such as the one used in the Smalltalk machine, >> ...). >> But I doubt it can currently be done with just a theme. > > Just having the more sensible mouse-click bindings (mouse-1 = forward > by N% anywhere in the scrollbar, mouse-2 = opposite) would be a > tremendous improvement. Does GTK filter-out all the useful > information before handing scroll clicks to Emacs? Yes, the behaviour on different buttons is hard coded, no configuration possible. A possible approach is to intercept mouse events and handle them in Emacs rather than passing them to the scroll bar. This may be desirable for other reasons also (overscrolling). Jan D.