From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.bugs Subject: bug#26347: patch for mwheel.el Date: Wed, 5 Apr 2017 08:18:42 +0900 Message-ID: References: <83mvbxpmdb.fsf@gnu.org> <7CB47036-03AE-4C5B-9E14-3D84A6C4C757@misasa.okayama-u.ac.jp> <592025CA-53C7-4443-97F6-114A79D7A43F@misasa.okayama-u.ac.jp> <20170404.203505.488305127.tkk@misasa.okayama-u.ac.jp> <83bmscp7h9.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1491348013 9585 195.159.176.226 (4 Apr 2017 23:20:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Apr 2017 23:20:13 +0000 (UTC) Cc: Kunihiro Tak , 26347@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 05 01:20:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvXk5-0001s1-PW for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Apr 2017 01:20:06 +0200 Original-Received: from localhost ([::1]:38017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvXkB-0001bc-PX for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Apr 2017 19:20:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvXk6-0001aQ-Ae for bug-gnu-emacs@gnu.org; Tue, 04 Apr 2017 19:20:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvXk2-00020R-AO for bug-gnu-emacs@gnu.org; Tue, 04 Apr 2017 19:20:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34730) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cvXk2-00020I-7O for bug-gnu-emacs@gnu.org; Tue, 04 Apr 2017 19:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cvXk1-0005ZZ-U7 for bug-gnu-emacs@gnu.org; Tue, 04 Apr 2017 19:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Apr 2017 23:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26347 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26347-submit@debbugs.gnu.org id=B26347.149134796021365 (code B ref 26347); Tue, 04 Apr 2017 23:20:01 +0000 Original-Received: (at 26347) by debbugs.gnu.org; 4 Apr 2017 23:19:20 +0000 Original-Received: from localhost ([127.0.0.1]:32929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvXjM-0005YX-5E for submit@debbugs.gnu.org; Tue, 04 Apr 2017 19:19:20 -0400 Original-Received: from mxl065v67.mxlogic.net ([208.81.65.67]:54704 helo=s14p02o144.mxlogic.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvXjK-0005YO-3v for 26347@debbugs.gnu.org; Tue, 04 Apr 2017 19:19:18 -0400 Original-Received: from unknown [42.127.236.175] (EHLO mlsec.cc.okayama-u.ac.jp) by s14p02o144.mxlogic.net(mxl_mta-8.5.0-1675) over TLS secured channel with ESMTP id 0f924e85.0.282300.00-377.585724.s14p02o144.mxlogic.net (envelope-from ); Tue, 04 Apr 2017 17:19:14 -0600 (MDT) X-MXL-Hash: 58e429f234540b3b-6346ffe7b3dfa3fad6c4174445f69db332fc203f Original-Received: from alml002.ouadm.okayama-u.ac.jp (unknown [42.127.236.168]) by mlsec.cc.okayama-u.ac.jp with smtp id 1fd1_2db7_fc0a66eb_3cf0_4f96_97ba_58d1b7fdeb90; Wed, 05 Apr 2017 08:19:06 +0900 Original-Received: from [192.168.1.50] (vesta.misasa.okayama-u.ac.jp [150.46.48.154]) by alml002.ouadm.okayama-u.ac.jp (Postfix) with ESMTPSA id CB4314C0B57; Wed, 5 Apr 2017 08:19:06 +0900 (JST) In-Reply-To: <83bmscp7h9.fsf@gnu.org> X-Mailer: Apple Mail (2.1878.6) X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 11 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 5 Rules triggered GME_TWTRE=0.1, EDT_SA_AU_PASS=0, EDT_SA_DN_PASS=0, EDT_SA_TS_PASS=0, RV5990=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5990> : inlines <5780> : streams <1739969> : uri <2403944> X-AnalysisOut: [v=2.2 cv=MPYQoIRl c=1 sm=1 tr=0 a=8LLPK8U+aGQ6qN8QlyMYtQ==] X-AnalysisOut: [:117 a=8LLPK8U+aGQ6qN8QlyMYtQ==:17 a=N659UExz7-8A:10 a=Azv] X-AnalysisOut: [cPWV-tVgA:10 a=QjcNRHyoBf4DiX6CctQA:9 a=pILNOxqGKmIA:10] X-Spam: [F=0.5200000000; CM=0.500; MH=0.520(2017040407); S=0.200(2015072901)] X-MAIL-FROM: X-SOURCE-IP: [42.127.236.175] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131280 Archived-At: >> Let me take it back and rephrase. I meant (1) is true for Emacs 24.5 >> on Windows but not for Emacs 25.1 on Windows. Emacs 25.1 on Windows >> scrolls horizontally well with auto-hscroll-mode on. >=20 > So I guess this means there is hope your patch could be amended not to > disable auto-hscroll-mode? >> Let me take it back and rephrase. I meant (1) is true for Emacs 24.5 >> on Windows but not for Emacs 25.1 on Windows. Emacs 25.1 on Windows >> scrolls horizontally well with auto-hscroll-mode on. > > So I guess this means there is hope your patch could be amended not to > disable auto-hscroll-mode? Now I leaned auto-hscroll-mode is irrelevant to horizontal scroll. However, I still insist that it should be off on horizontal and vertical scrolling. (A) It should be off during vertical scroll. Let=92s consider a buffer is with short and long alternative lines and when point is at the end of long line, at the top of current window. After `scroll-up 1', point jumps to the end of the next short line and you see scope shifts suddenly leftward. This behavior is sometimes unexpected one. (B) It should be off during horizontal scroll. During horizontal scroll, you may scroll a little in vertical direction without intention. The horizontal scroll should be tolerance against such perturbation. The source of concern is same as (A). The concern (A) is shared with vertical scroll-bar. With this respect, the concern should be solved by `scroll-up' not by `mwheel-scroll'. I think when point moves off the left edge of the window with cursor frozen at the left edge of the window, `scroll-up' should scroll up without horizontal shift. Conclusion: Yes.