From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: scrollbar (once more) Date: Sat, 05 Apr 2003 03:12:42 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200304030235.h332Zsv12591@eel.dms.auburn.edu> <200304040441.h344fvj13614@eel.dms.auburn.edu> <200304041451.h34EpDdw007299@rum.cs.yale.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1049558343 2037 80.91.224.249 (5 Apr 2003 15:59:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 5 Apr 2003 15:59:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Apr 05 17:59:00 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 191q4K-0000W0-00 for ; Sat, 05 Apr 2003 17:59:00 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 191q6v-0007FG-01 for ; Sat, 05 Apr 2003 18:01:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 191pgK-0001pe-05 for emacs-devel@quimby.gnus.org; Sat, 05 Apr 2003 10:34:12 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 191pfY-0001Ta-00 for emacs-devel@gnu.org; Sat, 05 Apr 2003 10:33:24 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 191pf2-0001Iv-00 for emacs-devel@gnu.org; Sat, 05 Apr 2003 10:33:23 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10.13) id 191pf2-0001G1-01 for emacs-devel@gnu.org; Sat, 05 Apr 2003 10:32:52 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 191in4-0005WH-00; Sat, 05 Apr 2003 03:12:42 -0500 Original-To: "Stefan Monnier" In-reply-to: <200304041451.h34EpDdw007299@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu) Original-cc: teirllm@dms.auburn.edu X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12915 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12915 > Somehow, with the narrowed buffer completely out of view above the > window and point just after the final newline, the computation of the > thumb length seems to count the entire inaccessible portion after point > as "present" in the window. Apparently, (- (buffer-size) (point)) > characters get counted as present in the window. It's in set_vertical_scroll_bar (which I just created a few days ago by extracting the code out of redisplay_window). Can you fix this bug?