Re: Fwd: size of the slider bar

2005-12-26 Thread Stefan Monnier
> I'm sure you know that the ratio of the length of this bar to the total
> length of the scroll bar must represent the ratio between the number of
> lines in the window to the number of lines in the file.  So, the ratio,
> and therefore the length of this bar, must remain the same so long as
> neither the number of lines in the file nor the height of the window
> are changed.

We know you think this way, but it seems you somehow still haven't realized
that you're wrong:
1 - there's nothing that says it *should be* related to the ratio of the
number of lines, rather than chars.
2 - the number of lines displayed is not constant either, so even if we
switched to lines (which could be costly) it wouldn't be enough: we need
the ratio of the number of *pixels*.

In either case, this would be way too expensive to compute, especially when
compared to the benefit.


Stefan


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Fwd: size of the slider bar

2005-12-25 Thread Richard M. Stallman
  The length of the slider bar, the blue bar that slides inside
> the scroll bar track (I'm not sure about the terminology) changes
> randomly as you scroll up and down the text. I'm sure you know that
> the ratio of the length of this bar to the total length of the scroll
> bar must represent the ratio between the number of lines in the window
> to the number of lines in the file.

That would take too long, for large files; he would not like this either,
but he has not realized this would be the price of what he wants.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Fwd: size of the slider bar

2005-12-24 Thread David Reitter
We've discussed this before and I've replied to the report below  
already. Yet I would like to forward it to this list so people know  
that users are complaining about this.


Begin forwarded message:


From: Bardia Sadri <[EMAIL PROTECTED]>
Date: 24 December 2005 22:53:42 GMT+01:00
To: [EMAIL PROTECTED]
Subject: [Aquamacs-bugs] size of the slider bar

Symptoms:

This is a bug every single version of emacs on Mac OS X suffers
from. The length of the slider bar, the blue bar that slides inside
the scroll bar track (I'm not sure about the terminology) changes
randomly as you scroll up and down the text. I'm sure you know that
the ratio of the length of this bar to the total length of the scroll
bar must represent the ratio between the number of lines in the window
to the number of lines in the file. So, the ratio, and therefore the
length of this bar, must remain the same so long as neither the number
of lines in the file nor the height of the window are changed.


If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/Applications/Aquamacs Emacs.app/Contents/Resources/etc/DEBUG for  
instructions.



In GNU Emacs 22.0.50.1 (powerpc-apple-darwin7.9.0)
 of 2005-12-21 on rodrigues.inf.ed.ac.uk - Aquamacs Distribution 0.9.8
X server distributor `Apple Computers', version 10.4.3
configured using `configure '--without-x' '--prefix=/usr/local''
 



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug