emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: moving point and scroll-conservatively


From: David De La Harpe Golden
Subject: Re: moving point and scroll-conservatively
Date: Sat, 26 Jun 2010 13:44:21 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100515 Icedove/3.0.4

On 26/06/10 12:34, Eli Zaretskii wrote:
Did any of you who set scroll-conservatively to most-positive-fixnum
notice that moving around an unmodified buffer became much slower,
since revno 100620, when point moves far away?

For example, with this recipe:

   emacs -Q
   M-: (setq scroll-conservatively most-positive-fixnum scroll-step 0) RET
   C-x C-f xdisp.c
   C-u 25000 M-g M-g

it takes Emacs 17 seconds on my 3GHz machine to display xdisp.c around
line 25000, whereas it's instantaneous in Emacs 23.2.


Yes, that does appear slow, though taking ~ 10 seconds on my machine.

Btw, what do users of scroll-conservatively = most-positive-fixnum
want from C-v and PageDown keys?  Is it okay to recenter in that case,
or do you want to see the cursor on the last screen line in that case
as well?  (Emacs does not currently distinguish between these two
cases.  In fact, it does not care at all which command caused point to
move.)


Well ... scroll-preserve-screen-position? That seems to be working anyway on pgup/dn, the point stays on the same screen line and I don't see recentering.









reply via email to

[Prev in Thread] Current Thread [Next in Thread]