unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [rgm@gnu.org: mouse and horizontal scrolling with long lines]
@ 2006-11-30  3:21 Richard Stallman
  2006-12-01 18:48 ` Chong Yidong
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2006-11-30  3:21 UTC (permalink / raw)


Would someone please fix this, then ack?

------- Start of forwarded message -------
From: Glenn Morris <rgm@gnu.org>
To: emacs-pretest-bug@gnu.org
Date: Wed, 29 Nov 2006 04:42:09 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: mouse and horizontal scrolling with long lines
X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed 
	version=3.0.4


Scrolling with the mouse in a buffer with lines wider than the window
(with truncate-lines enabled) is problematic. As an example:

emacs -q --no-site-file

Delete the newlines in the initial message in the scratch buffer (so
as to get a single long line of text wider than the window).

M-x toggle-truncate-lines

Click with the mouse within 5 columns of the right margin, but do not
release the mouse button.

At this stage, the window scrolls to centre point horizontally.
The mouse cursor remains where it was, close to the right margin.
The buffer basically looks as one would want it to.

Release the mouse.

Now point jumps to where the mouse cursor is, and the region between
here and where point just was gets selected. The window scrolls
horizontally again so as to centre the new point.

This last behaviour is unwanted, and makes it quite difficult to
scroll horizontally with the mouse, let along click and drag to create
a selection across the initial window edge.



_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

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

end of thread, other threads:[~2006-12-02  2:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2006-12-02  0:06     ` Chong Yidong
2006-12-02  2:15       ` Glenn Morris
2006-12-02  2:25         ` Glenn Morris

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