From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#32002: 24.4; Scroll bar start, end not correct Date: Sun, 22 Jul 2018 09:25:20 +0200 Message-ID: <5B543160.7030500@gmx.at> References: <8280.1531544200@alto> <83r2k6b9cz.fsf@gnu.org> <5B49ADC5.9020006@gmx.at> <83muuky9xs.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1532244271 17460 195.159.176.226 (22 Jul 2018 07:24:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2018 07:24:31 +0000 (UTC) Cc: 32002@debbugs.gnu.org, kurn@sfu.ca, mkupfer@alum.berkeley.edu To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 22 09:24:26 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 1fh8jC-0004RD-N8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jul 2018 09:24:26 +0200 Original-Received: from localhost ([::1]:55093 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fh8lJ-0002UM-OF for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jul 2018 03:26:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fh8ko-0002Jz-Li for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 03:26:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fh8kk-0005Zi-M5 for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 03:26:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46520) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fh8kk-0005Ze-HG for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 03:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fh8kk-0003HF-5z for bug-gnu-emacs@gnu.org; Sun, 22 Jul 2018 03:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Jul 2018 07:26:02 +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.153224434012563 (code B ref 32002); Sun, 22 Jul 2018 07:26:02 +0000 Original-Received: (at 32002) by debbugs.gnu.org; 22 Jul 2018 07:25:40 +0000 Original-Received: from localhost ([127.0.0.1]:51537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fh8kN-0003GX-2t for submit@debbugs.gnu.org; Sun, 22 Jul 2018 03:25:40 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:46055) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fh8kL-0003GI-KT for 32002@debbugs.gnu.org; Sun, 22 Jul 2018 03:25:37 -0400 Original-Received: from [192.168.1.101] ([213.162.73.195]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M9b03-1frqNW2YZz-00Cy4D; Sun, 22 Jul 2018 09:25:25 +0200 In-Reply-To: <83muuky9xs.fsf@gnu.org> X-Provags-ID: V03:K1:6e3BpdjYmaaySSyWq5NyeIAP05JbolhSLWsfaPV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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:148802 Archived-At: > 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. martin