unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: scrollbar (once more)
Date: Thu, 3 Apr 2003 22:41:57 -0600 (CST)	[thread overview]
Message-ID: <200304040441.h344fvj13614@eel.dms.auburn.edu> (raw)
In-Reply-To: <E191DZ4-0006na-00@fencepost.gnu.org> (message from Richard Stallman on Thu, 03 Apr 2003 17:52:10 -0500)

Richard Stallman wrote:

       The thumb now covers nearly the entire length of the scrollbar,
       because the inaccessible portion all of a sudden starts "counting".

   I'd call it a bug.  Could you try to figure out what causes it?

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.

Does the thumb size of the (native) scrollbar get adjusted in the Lisp
or in the C code?  At first view, I have the impression that it is in
the C code.  (Although I am not sure.)  While I know C, I am not
really familiar with Emacs' C code and while I intend to sooner or
later familiarize myself with it, I do not have the time to start
studying it at present.

Sincerely,

Luc.

  reply	other threads:[~2003-04-04  4:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-03  2:35 scrollbar (once more) Luc Teirlinck
2003-04-03 13:15 ` Robert J. Chassell
2003-04-03 22:52 ` Richard Stallman
2003-04-04  4:41   ` Luc Teirlinck [this message]
2003-04-04 14:51     ` Stefan Monnier
2003-04-05  8:12       ` Richard Stallman
2003-04-06 21:05         ` Stefan Monnier
2003-04-06 21:37           ` Luc Teirlinck
2003-04-06 22:51             ` Luc Teirlinck
2003-04-15  2:06               ` Richard Stallman
2003-04-15  2:49                 ` Luc Teirlinck
2003-04-04 22:24     ` Richard Stallman
2003-04-04 23:11       ` Luc Teirlinck
2003-04-04 23:37         ` bug in window-end Luc Teirlinck
2003-04-05  4:41           ` Luc Teirlinck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200304040441.h344fvj13614@eel.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).