From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Scroll bar size marker on w32 Date: Tue, 09 Aug 2005 14:59:16 +0200 Message-ID: <85d5onuuzf.fsf@lola.goethe.zz> References: <42F8A0CC.3030706@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123592823 25859 80.91.229.2 (9 Aug 2005 13:07:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Aug 2005 13:07:03 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 09 15:06:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E2TnT-0002dp-0i for ged-emacs-devel@m.gmane.org; Tue, 09 Aug 2005 15:05:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2TqW-0003w8-SG for ged-emacs-devel@m.gmane.org; Tue, 09 Aug 2005 09:08:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E2TpD-0003XU-Vb for emacs-devel@gnu.org; Tue, 09 Aug 2005 09:07:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E2TpC-0003WQ-54 for emacs-devel@gnu.org; Tue, 09 Aug 2005 09:07:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2TpB-0003Sn-7v for emacs-devel@gnu.org; Tue, 09 Aug 2005 09:07:21 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E2TvJ-0003AV-P0 for emacs-devel@gnu.org; Tue, 09 Aug 2005 09:13:41 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1E2TfQ-0002Oi-5L; Tue, 09 Aug 2005 08:57:16 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 66BD11C4CE29; Tue, 9 Aug 2005 14:59:17 +0200 (CEST) Original-To: Lennart Borgman In-Reply-To: <42F8A0CC.3030706@student.lu.se> (Lennart Borgman's message of "Tue, 09 Aug 2005 14:25:48 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:41785 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41785 Lennart Borgman writes: > I just noticed that the scroll bar size marker (the thing that moves > on the scroll bar) changes it size as you scroll a buffer in Emacs on > w32. I have not seen this in any other program on w32 and it seems to > me to be against the expected behaviour. > > Is this something that is w32 specific? No. > To notice the the effect make the window a little bit smaller than the > buffer and move to the top and bottom. Scroll bar start and end correspond to byte offsets in the file, and bytes/line is not a constant but content-dependent. If we take the Athena scrollbar semantics, this means that mouse-1 and mouse-3 operate by screen-lines, while mouse-2 operates by byte offset. This is not a w32-specific problem. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum