From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?SmFuIERqw6Rydg==?= Newsgroups: gmane.emacs.devel Subject: Re: Not a regression, but shuld go into emacs-24 Date: Sun, 01 Jun 2014 20:11:16 +0200 Message-ID: <538B6CC4.1060309@swipnet.se> References: <538B03D4.6030502@swipnet.se> <538B1D0D.3010102@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1401646304 16707 80.91.229.3 (1 Jun 2014 18:11:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2014 18:11:44 +0000 (UTC) To: martin rudalics , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 01 20:11: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 1WrAEL-0007ke-0K for ged-emacs-devel@m.gmane.org; Sun, 01 Jun 2014 20:11:37 +0200 Original-Received: from localhost ([::1]:41610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrAEK-0000uH-IS for ged-emacs-devel@m.gmane.org; Sun, 01 Jun 2014 14:11:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrAEA-0000u8-9a for emacs-devel@gnu.org; Sun, 01 Jun 2014 14:11:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrAE2-0008QR-QS for emacs-devel@gnu.org; Sun, 01 Jun 2014 14:11:26 -0400 Original-Received: from mailfe06.swip.net ([212.247.154.161]:51786 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrAE2-0008QM-8o for emacs-devel@gnu.org; Sun, 01 Jun 2014 14:11:18 -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 mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 503793051; Sun, 01 Jun 2014 20:11:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <538B1D0D.3010102@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.161 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:172246 Archived-At: Hi. 2014-06-01 14:31, martin rudalics skrev: > > + position = value; > > How/why does this value differ from that returned by > gtk_adjustment_get_value? That returns the value the scroll bar has before the scroll, not what it will be. > > As an aside: Why is the third argument of x_send_scroll_bar_event called > PORTION while inherently it's a POSITION relative to WHOLE? Doesn't > such nomenclature clash with that of say XTset_vertical_scroll_bar where > PORTION represents the size of the slider wrt WHOLE? > position is not needed, I removed it. It is called portion in Motif/Lesstif (xm_scroll_callback) also, thats where it originates. x_send_scroll_bar_event itself calls it portion. xaw_scroll_callback calls it portion. Has not caused any confusion what I know of. Its a tiny cosmetic thing. Jan D.