From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Heidemann Newsgroups: gmane.emacs.devel Subject: Re: [dubois@doublefine.com: mouse-drag.el and automatic-hscrolling interact poorly] Date: Sat, 26 Oct 2002 22:11:52 -0700 Sender: emacs-devel-admin@gnu.org Message-ID: <200210270511.g9R5BrUC030013@dash.isi.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035704543 16805 80.91.224.249 (27 Oct 2002 07:42:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 27 Oct 2002 07:42:23 +0000 (UTC) Cc: emacs-devel@gnu.org, gerd@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 185i3x-0004Mu-00 for ; Sun, 27 Oct 2002 08:42:21 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 185i7U-0001cr-00 for ; Sun, 27 Oct 2002 08:46:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 185i2E-0008Cb-00; Sun, 27 Oct 2002 02:40:34 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 185i1L-0005bc-00 for emacs-devel@gnu.org; Sun, 27 Oct 2002 02:39:39 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 185i1H-0005Ra-00 for emacs-devel@gnu.org; Sun, 27 Oct 2002 02:39:37 -0500 Original-Received: from flamingo.mail.pas.earthlink.net ([207.217.120.232]) by monty-python.gnu.org with esmtp (Exim 4.10) id 185i1H-0005OT-00; Sun, 27 Oct 2002 02:39:35 -0500 Original-Received: from user-112ujfa.biz.mindspring.com ([66.47.77.234] helo=dash.isi.edu) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 185i1F-0005n3-01; Sun, 27 Oct 2002 00:39:34 -0700 Original-Received: from dash.isi.edu (localhost.isi.edu [127.0.0.1]) by dash.isi.edu (8.12.5/8.12.5) with ESMTP id g9R5Buhb030018; Sat, 26 Oct 2002 22:12:00 -0700 Original-Received: from dash.isi.edu (johnh@localhost) by dash.isi.edu (8.12.5/8.12.5/Submit) with ESMTP id g9R5BrUC030013; Sat, 26 Oct 2002 22:11:54 -0700 X-url: http://www.isi.edu/~johnh/ Original-To: rms@gnu.org In-reply-to: Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8831 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8831 On Sat, 26 Oct 2002 16:15:29 EDT, Richard Stallman wrote: >[I sent this message a few weeks ago but did not get a response.] > >Could you please take a look at this problem? Thanks for the resend. I think I'm able to reproduce the problem. I'll add it to my queue to look at. -John Heidemann > >------- Start of forwarded message ------- >Envelope-to: rms@gnu.org >Delivery-date: Wed, 09 Oct 2002 19:55:27 -0400 >From: Paul Du Bois >To: bug-gnu-emacs@gnu.org >Subject: mouse-drag.el and automatic-hscrolling interact poorly >X-OriginalArrivalTime: 09 Oct 2002 23:57:04.0956 (UTC) FILETIME=[918C67C0:01C26FEF] >Sender: bug-gnu-emacs-admin@gnu.org >Date: 9 Oct 2002 16:57:04 -0700 > >This bug report will be sent to the Free Software Foundation, >not to your local site managers! >Please write in English, because the Emacs maintainers do not have >translators to read other languages for them. > >Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, >and to the gnu.emacs.bug news group. > >In GNU Emacs 21.2.1 (i386-msvc-nt5.1.2600) > of 2002-03-19 on buffy >configured using `configure --with-msvc (12.00)' >Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: ENU > locale-coding-system: iso-latin-1 > default-enable-multibyte-characters: nil > >Please describe exactly what actions triggered the bug >and the precise symptoms of the bug: > >;; eg > >(require 'mouse-drag) >(define-key global-map [M-down-mouse-1] 'mouse-drag-drag) >(setq automatic-hscrolling t) >;; switch to an interesting buffer >(setq truncate-lines t) > >;; 1. put point in the middle of a line >;; 2. do a leftward M-drag >;; 3. Notice that as the cursor approaches the left edge of the >;; screen, the hscroll resets to 0 > >A quick fix is to modify the (let (...) ) in mouse-drag-safe-scroll to >temporarily unset automatic-hscrolling. I don't know whether that's a real >fix or just a workaround -- I don't understand this comment in scroll-right: > > If `automatic-hscrolling' is non-nil, the argument ARG modifies > a lower bound for automatic scrolling, i.e. automatic scrolling > will not scroll a window to a column less than the value returned > by this function. > >p > > > >_______________________________________________ >Bug-gnu-emacs mailing list >Bug-gnu-emacs@gnu.org >http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs >------- End of forwarded message -------