From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: [rgm@gnu.org: mouse and horizontal scrolling with long lines] Date: Fri, 01 Dec 2006 18:30:34 -0500 Message-ID: <14y7pr5h45.fsf@fencepost.gnu.org> References: <87hcwfih9k.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165015901 29244 80.91.229.2 (1 Dec 2006 23:31:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Dec 2006 23:31:41 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 02 00:31:35 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GqHqG-0004hb-Kl for ged-emacs-devel@m.gmane.org; Sat, 02 Dec 2006 00:30:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GqHqG-0007QP-7j for ged-emacs-devel@m.gmane.org; Fri, 01 Dec 2006 18:30:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GqHq2-0007N0-8A for emacs-devel@gnu.org; Fri, 01 Dec 2006 18:30:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GqHq1-0007MZ-So for emacs-devel@gnu.org; Fri, 01 Dec 2006 18:30:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GqHq1-0007MU-Oh for emacs-devel@gnu.org; Fri, 01 Dec 2006 18:30:37 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GqHq1-0002xg-Nj for emacs-devel@gnu.org; Fri, 01 Dec 2006 18:30:37 -0500 Original-Received: from localhost ([127.0.0.1]) by fencepost.gnu.org with esmtp (Exim 4.52) id 1GqHpz-0000qL-35; Fri, 01 Dec 2006 18:30:35 -0500 Original-To: Chong Yidong X-Spook: gamma AUTODIN 9705 Samford Road HAMASMOIS high security X-Ran: $|"fY\Io[_UM]7z%a,*:9K\W'wc7LaTO_U693_*m@^<}u8#XD,q\WO4]HwssYID9}YR2:\ X-Hue: green X-Attribution: GM In-Reply-To: <87hcwfih9k.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 01 Dec 2006 13:48:55 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63210 Archived-At: 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.