From: Stefan <monnier@iro.umontreal.ca>
Cc: emacs devel <emacs-devel@gnu.org>
Subject: Re: Addition to emacsbug.el
Date: Sat, 30 Oct 2004 12:53:01 -0400 [thread overview]
Message-ID: <m11xfgnogl.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <88DBBF2F-2A84-11D9-AA4E-000D93505B76@swipnet.se> (Jan D.'s message of "Sat, 30 Oct 2004 17:01:10 +0200")
>>> I used Xaw3d. The point that bothered me is if I have two pages in
>>> a buffer, scrolling three lines involves a small mouse movement.
>>> If I have three lines in the buffer, scrolling three lines involves
>>> a very big mouse movement, even if I start with the mouse pointer in the
>>> same place in both cases.
>>
>> If that's the only thing that bothered you with my Xaw3d code, I'm
>> flattered ;-). After all, it's the desired behavior (and AFAICT this part
>> of the behavior is common to all scrollbar implementations, even for other
>> programs).
> Well, it is not all. I don't like that the thumb shrinks for "normal"
> scrolling, i.e. not overscrolling. As far as I know, no other program has
> overscrolling, so the common behaviour is undefined. I do not agree that it
> is the desired behaviour. If the window size and the buffer size are the
> same, and if the mouse pointer starts the scroll in the same position, then
> the same amount of movement should give the same amount of lines scrolled
> regardless if this is a normalscroll or an overscroll. But as I said, there
> are no programs I know of that has overscrolling, so this is just
> an opinion.
Hmm... there's obviously something I do not understand here.
Your example had two buffers with *different sizes* (one with 2 pages, the
other with 3 lines). I myself have never noticed a difference between
"overscroll" and "normallscroll" behavior in Emacs, and indeed the code
makes no such distinction so the behavior should be exactly the same.
Stefan
next prev parent reply other threads:[~2004-10-30 16:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-27 9:37 Addition to emacsbug.el Jan D.
2004-10-27 13:27 ` Stefan Monnier
2004-10-27 19:37 ` Jan D.
2004-10-27 20:50 ` Stefan Monnier
2004-10-28 6:21 ` Jan D.
2004-10-28 19:54 ` Stefan
2004-10-29 9:37 ` Jan D.
2004-10-29 12:28 ` Jan D.
2004-10-29 21:17 ` Stefan
2004-10-30 15:01 ` Jan D.
2004-10-30 16:53 ` Stefan [this message]
2004-10-30 17:17 ` Jan D.
2004-10-28 6:24 ` Richard Stallman
2004-10-28 8:07 ` Jan D.
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=m11xfgnogl.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--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).