From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Not a regression, but shuld go into emacs-24 Date: Mon, 2 Jun 2014 17:50:49 +0200 Message-ID: <66A6FA1C-3A31-4331-8421-50E5B012CB6F@swipnet.se> References: <538B03D4.6030502@swipnet.se> <538B1D0D.3010102@gmx.at> <538B6CC4.1060309@swipnet.se> <538C2250.1090805@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1401724305 5682 80.91.229.3 (2 Jun 2014 15:51:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Jun 2014 15:51:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 02 17:51:37 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WrUWO-0003TQ-T7 for ged-emacs-devel@m.gmane.org; Mon, 02 Jun 2014 17:51:37 +0200 Original-Received: from localhost ([::1]:47325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrUWO-0003bW-FY for ged-emacs-devel@m.gmane.org; Mon, 02 Jun 2014 11:51:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrUVs-0002dH-08 for emacs-devel@gnu.org; Mon, 02 Jun 2014 11:51:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrUVl-0003KT-G7 for emacs-devel@gnu.org; Mon, 02 Jun 2014 11:51:03 -0400 Original-Received: from mailfe07.swip.net ([212.247.154.193]:56549 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrUVl-0003J6-AL for emacs-devel@gnu.org; Mon, 02 Jun 2014 11:50:57 -0400 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 505644042; Mon, 02 Jun 2014 17:50:51 +0200 In-Reply-To: <538C2250.1090805@gmx.at> X-Mailer: Apple Mail (2.1878.2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.193 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172259 Archived-At: Hello. 2 jun 2014 kl. 09:05 skrev martin rudalics : > So the term PORTION in x_send_scroll_bar_event seems semantically > equivalent to the term POSITION in x_set_toolkit_scroll_bar_thumb and > not to the term PORTION in x_set_toolkit_scroll_bar_thumb. Is that > interpretation correct? Only for a jump scroll. When dragging or scrolling by page, PORTION = passed to x_send_scroll_bar_event is zero, as is WHOLE.=20 For jump scroll, PORTION is the position of the scroll bar thumb that we = jump to. =20 The values of PORTION in x_send_scroll_bar_event and = x_set_toolkit_scroll_bar_thumb are different. The first has values as = defined by the scroll bar. For Gtk+, Motif and Xaw this is a value = between 0 or 1 and 10000000. The values to x_set_toolkit_scroll_bar_thumb are in characters, i.e. = show PORTION characters for the buffer, starting at character POSITION. = The buffer has a total of WHOLE characters. Jan D.