From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6671: moving point and scroll-conservatively Date: Tue, 29 Mar 2011 06:03:30 +0200 Message-ID: <8339m6shd9.fsf@gnu.org> References: <87vcz9s60m.fsf@stupidchicken.com> <87tyetb258.fsf@stupidchicken.com> <83tyeqrrio.fsf@gnu.org> <83ipv5rz62.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1301371644 30158 80.91.229.12 (29 Mar 2011 04:07:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2011 04:07:24 +0000 (UTC) Cc: cyd@stupidchicken.com, 6671@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 29 06:07:19 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4QD6-00022D-KU for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2011 06:07:16 +0200 Original-Received: from localhost ([127.0.0.1]:51539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4QD5-0001Qh-Vf for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2011 00:07:16 -0400 Original-Received: from [140.186.70.92] (port=40601 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4QD0-0001Qa-Q1 for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 00:07:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4QCz-0001UP-MD for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 00:07:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4QCz-0001UK-KU for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2011 00:07:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q4Q9y-0002cx-BU; Tue, 29 Mar 2011 00:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Mar 2011 04:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6671 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6671-submit@debbugs.gnu.org id=B6671.130137141510057 (code B ref 6671); Tue, 29 Mar 2011 04:04:02 +0000 Original-Received: (at 6671) by debbugs.gnu.org; 29 Mar 2011 04:03:35 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4Q9W-0002cA-RP for submit@debbugs.gnu.org; Tue, 29 Mar 2011 00:03:35 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4Q9T-0002bv-Qt for 6671@debbugs.gnu.org; Tue, 29 Mar 2011 00:03:33 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LIS00J00WKNR300@a-mtaout20.012.net.il> for 6671@debbugs.gnu.org; Tue, 29 Mar 2011 06:03:22 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.47.180]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LIS00JOTWLKOO40@a-mtaout20.012.net.il>; Tue, 29 Mar 2011 06:03:22 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 29 Mar 2011 00:04:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45457 Archived-At: > From: Juanma Barranquero > Date: Tue, 29 Mar 2011 01:00:00 +0200 > Cc: cyd@stupidchicken.com, 6671@debbugs.gnu.org >=20 > [Sorry, I somehow missed your answer yesterday] >=20 > On Sun, Mar 27, 2011 at 05:59, Eli Zaretskii wrote: >=20 > > That's good to hear. =C2=A0Please see if it still works great aft= er fixing > > a stupid mistake with parentheses (see my other mail this morning= ). >=20 > Yes, it works great. Please install it. I will in a couple of days. I'm still working on minor issues relate= d to scrolling due to cursor motion (e.g., it was totally screwed up when scroll-*-aggressively is set) and on code in try_scrolling that cannot be anything but wrong, like this one: =09 if (arg_scroll_conservatively) =09 amount_to_scroll =09 =3D max (dy, FRAME_LINE_HEIGHT (f) * max (scroll_step, temp_= scroll_step)); Huh? we're under scroll-conservatively, but don't consider its value for scrolling? > > In what sense is that "bad"? >=20 > emacs xdisp.c ;; not -Q, but with my setup > PgDown ;; keep pressed >=20 > It scrolls for a while, then stops for a while, then jumps ahead > (sometimes, hundreds or thousands of lines). Ah, that one. Yes, I see it. I think that's because scroll-up uses = a heavy algorithm. But its implementation is entirely separate from what I was trying to fix, so it's expected that scroll-up and scroll-down won't be affected. > > And by "scroll-up-command" do you mean `scroll-up' and `scroll-do= wn'? >=20 > No. >=20 > emacs -Q > C-h k PgDown >=20 > (translated from ) runs the command scroll-up-comma= nd, > which is an interactive compiled Lisp function in `window.el'. I was talking from Emacs 23. But anyway, the difference is small, because scroll-up-command just calls scroll-up.