unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [rgm@gnu.org: mouse and horizontal scrolling with long lines]
Date: Fri, 01 Dec 2006 18:30:34 -0500	[thread overview]
Message-ID: <14y7pr5h45.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87hcwfih9k.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 01 Dec 2006 13:48:55 -0500")

Chong Yidong wrote:

> Does this patch give good results?

Well, it's a definite improvement (thanks) in that a mouse click and
release near the margin no longer does an unwanted region selection.
However, now the down mouse event has no effect, and scrolling only
occurs on release of the mouse. I think it would be nicer if it were
the other way around. But maybe I'm just being greedy. :)

It is still hard to use the mouse to select a region that starts near
a window edge and requires horizontal scrolling (because the size of
the selection increases in jerks), but this is probably an inevitable
consequence of hscroll-step being 0. I should probably set my
hscroll-step to 1.

Or maybe I should turn off automatic-hscrolling altogether, to get a
behaviour similar to vertical mouse scrolling. But then even trying to
drag a selection past the edge of the window does not cause it to
scroll.

This is probably entering the "need horizontal scroll bars" territory,
which is obviously not a subject for this time.

  reply	other threads:[~2006-12-01 23:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-30  3:21 [rgm@gnu.org: mouse and horizontal scrolling with long lines] Richard Stallman
2006-12-01 18:48 ` Chong Yidong
2006-12-01 23:30   ` Glenn Morris [this message]
2006-12-02  0:06     ` Chong Yidong
2006-12-02  2:15       ` Glenn Morris
2006-12-02  2:25         ` Glenn Morris

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=14y7pr5h45.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=emacs-devel@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 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).