From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32002: 24.4; Scroll bar start, end not correct Date: Fri, 27 Jul 2018 11:30:16 +0300 Message-ID: <83sh45rsh3.fsf@gnu.org> References: <8280.1531544200@alto> <83r2k6b9cz.fsf@gnu.org> <5B49ADC5.9020006@gmx.at> <83muuky9xs.fsf@gnu.org> <5B543160.7030500@gmx.at> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1532680148 5857 195.159.176.226 (27 Jul 2018 08:29:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Jul 2018 08:29:08 +0000 (UTC) Cc: 32002@debbugs.gnu.org, kurn@sfu.ca, mkupfer@alum.berkeley.edu To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 27 10:29:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fiy7T-0001Ok-Ig for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Jul 2018 10:29:03 +0200 Original-Received: from localhost ([::1]:39723 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiy9Y-0003R1-KH for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Jul 2018 04:31:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiy9S-0003Qt-Ad for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2018 04:31:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fiy9O-0002Xr-CN for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2018 04:31:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54517) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fiy9O-0002Xf-6r for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2018 04:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fiy9N-0002dn-Rt for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2018 04:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Jul 2018 08:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32002 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 32002-submit@debbugs.gnu.org id=B32002.153268023110113 (code B ref 32002); Fri, 27 Jul 2018 08:31:01 +0000 Original-Received: (at 32002) by debbugs.gnu.org; 27 Jul 2018 08:30:31 +0000 Original-Received: from localhost ([127.0.0.1]:59535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fiy8t-0002d3-0i for submit@debbugs.gnu.org; Fri, 27 Jul 2018 04:30:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51057) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fiy8s-0002cr-0u for 32002@debbugs.gnu.org; Fri, 27 Jul 2018 04:30:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fiy8l-0002Fc-Jc for 32002@debbugs.gnu.org; Fri, 27 Jul 2018 04:30:24 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiy8f-00027F-35; Fri, 27 Jul 2018 04:30:17 -0400 Original-Received: from [176.228.60.248] (port=4121 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fiy8e-0002zw-Fa; Fri, 27 Jul 2018 04:30:16 -0400 In-reply-to: <5B543160.7030500@gmx.at> (message from martin rudalics on Sun, 22 Jul 2018 09:25:20 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148998 Archived-At: > Date: Sun, 22 Jul 2018 09:25:20 +0200 > From: martin rudalics > CC: mkupfer@alum.berkeley.edu, 32002@debbugs.gnu.org, kurn@sfu.ca > > > Or did you mean to disable scrolling-up in this case, and thus remove > > the need for scrolling down? > > That's the idea. The entire text stays put in the window and any > attempt to move the thumb has no effect. Obviously, users can always > change the window start position by other means but in that case they > are on their own. > > > Hmm... maybe that's the only solution to > > this conundrum, but in that case I think it would be safer to add > > scroll-bar-adjust-thumb-portion to your condition about portion-whole. > > There's probably more of that. For example, I have no idea whether > the car and cdr of 'portion-whole' are always numbers. Honestly, I > dislike the idea of changing this code myself. My knowledge of what > scrolling should do is too limited. How about putting on master a patch that does what you suggested, conditioned on scroll-bar-adjust-thumb-portion being nil and the car and cdr of portion-whole being both numbers? How bad could that be, given that this mode is evidently not used by anyone? Thanks.