unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Scroll bar size marker on w32
@ 2005-08-09 12:25 Lennart Borgman
  2005-08-09 12:59 ` David Kastrup
  0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman @ 2005-08-09 12:25 UTC (permalink / raw)


I just noticed that the scroll bar size marker (the thing that moves on 
the scroll bar) changes it size as you scroll a buffer in Emacs on w32. 
I have not seen this in any other program on w32 and it seems to me to 
be against the expected behaviour.

Is this something that is w32 specific?

To notice the the effect make the window a little bit smaller than the 
buffer and move to the top and bottom.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Scroll bar size marker on w32
  2005-08-09 12:25 Scroll bar size marker on w32 Lennart Borgman
@ 2005-08-09 12:59 ` David Kastrup
  2005-08-09 13:35   ` Lennart Borgman
  0 siblings, 1 reply; 3+ messages in thread
From: David Kastrup @ 2005-08-09 12:59 UTC (permalink / raw)
  Cc: Emacs Devel

Lennart Borgman <lennart.borgman.073@student.lu.se> writes:

> I just noticed that the scroll bar size marker (the thing that moves
> on the scroll bar) changes it size as you scroll a buffer in Emacs on
> w32. I have not seen this in any other program on w32 and it seems to
> me to be against the expected behaviour.
>
> Is this something that is w32 specific?

No.

> To notice the the effect make the window a little bit smaller than the
> buffer and move to the top and bottom.

Scroll bar start and end correspond to byte offsets in the file, and
bytes/line is not a constant but content-dependent.

If we take the Athena scrollbar semantics, this means that mouse-1 and
mouse-3 operate by screen-lines, while mouse-2 operates by byte
offset.

This is not a w32-specific problem.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Scroll bar size marker on w32
  2005-08-09 12:59 ` David Kastrup
@ 2005-08-09 13:35   ` Lennart Borgman
  0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2005-08-09 13:35 UTC (permalink / raw)
  Cc: Emacs Devel

David Kastrup wrote:

>Scroll bar start and end correspond to byte offsets in the file, and
>bytes/line is not a constant but content-dependent.
>  
>
Ah, I see. First visible character in the window corresponds to scroll 
bar size mark top and last to bottom. Thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-09 13:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-09 12:25 Scroll bar size marker on w32 Lennart Borgman
2005-08-09 12:59 ` David Kastrup
2005-08-09 13:35   ` Lennart Borgman

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).