--- Begin Message ---
Subject: |
24.0.50; Performace regression from r100619 try_scrolling change |
Date: |
Wed, 23 Mar 2011 17:39:37 -0400 |
2010-06-19 Eli Zaretskii <address@hidden>
* xdisp.c (try_scrolling): Compute the limit for searching point
in forward scroll from scroll_max, instead of an arbitrary limit
of 10 screen lines. See
http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00766.html
and
http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00773.html
for details.
This change (on trunk) causes a big slowdown in navigating large
buffers. To reproduce, make a .emacs with just the following line:
(setq scroll-conservatively 1000)
Then:
emacs /path/to/xdisp.c
M-g M-g 20000 RET
Emacs takes about a second to move point to the specified line. If the
above change is reverted, moving is instantaneous. The slowdown is much
more apparent if Emacs is compiled without optimizations.
In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
of 2011-03-23 on furball
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
configured using `configure 'CC=gcc' 'CFLAGS=-g''
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#6671: moving point and scroll-conservatively |
Date: |
Thu, 31 Mar 2011 21:19:35 +0200 |
> From: Juanma Barranquero <address@hidden>
> Date: Tue, 29 Mar 2011 01:00:00 +0200
> Cc: address@hidden, address@hidden
>
> On Sun, Mar 27, 2011 at 05:59, Eli Zaretskii <address@hidden> wrote:
>
> > That's good to hear. Please see if it still works great after fixing
> > a stupid mistake with parentheses (see my other mail this morning).
>
> Yes, it works great. Please install it.
Done (in revision 103792 on the trunk).
I'm closing this bug, because I think it has been beaten to death. If
there are any left-overs, or new bugs I introduced, please file new
bug reports.
--- End Message ---