all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles.bader@necel.com>
Cc: Chong Yidong <cyd@stupidchicken.com>,
	eliz@gnu.org, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: TUTORIAL and scroll bar
Date: Thu, 10 Aug 2006 15:41:02 +0900	[thread overview]
Message-ID: <buoirl19jpd.fsf@dhapc248.dev.necel.com> (raw)
In-Reply-To: <44DAD1FF.4030603@swipnet.se> (Jan Djärv's message of "Thu, 10 Aug 2006 08:28:15 +0200")

Jan Djärv <jan.h.d@swipnet.se> writes:
>> The main reason for putting scroll bars on the left is that most of the text
>> is on the left.  In ordinary X11 toolkit scroll bars, there are mouse
>> clicks whose operation is based on the line you click on, so it is useful
>> to see the scroll bar close to the text on the line.
>
> I am not sure which commands you mean. Dou you mean that middle click on the 
> bar jumps the slider there?  GTK has that.

Xtk (and ATK for that matter) scrollbars use a very clever and handy
definition for the left/right mouse keys:  a left mouse-click in the
scrollbar scrolls so that the line next to the mouse pointer is at to
the top of the window; a right mouse-click scrolls so that the line at
the top of the window is next to the mouse-pointer.

Thus you can intuitively and precisely control the amount by which the
window scrolls due to mouse l/r scrollbar clicks (near the top of the
bar = "scroll a little", near the bottom = "scroll a lot").

[In ATK, it would even auto-repeat if you held down the mouse button, so
you could dynamically control the speed of scrolling by moving the
pointer up or down in the scrollbar while holding down the
mouse-button.  Xterm, at least, doesn't seem to implement this.]

-Miles
-- 
My spirit felt washed.  With blood.  [Eli Shin, on "The Passion of the Christ"]

  reply	other threads:[~2006-08-10  6:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-08 23:39 TUTORIAL and scroll bar Richard Stallman
2006-08-09  3:29 ` Eli Zaretskii
2006-08-09  3:36   ` Chong Yidong
2006-08-09  6:33     ` Romain Francoise
2006-08-09 19:16     ` Richard Stallman
2006-08-10  6:28       ` Jan Djärv
2006-08-10  6:41         ` Miles Bader [this message]
2006-08-10  7:21           ` Jan Djärv
2006-08-10  7:27             ` David Kastrup
2006-08-10  6:49         ` David Kastrup
2006-08-09  6:55   ` David Kastrup
2006-08-09  7:07     ` Miles Bader
2006-08-09  7:14       ` David Kastrup
2006-08-09 10:00         ` Yavor Doganov
2006-08-10  1:13           ` Richard Stallman
2006-08-09 19:16   ` Richard Stallman

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

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

  git send-email \
    --in-reply-to=buoirl19jpd.fsf@dhapc248.dev.necel.com \
    --to=miles.bader@necel.com \
    --cc=cyd@stupidchicken.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    --cc=rms@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.