From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: moving point and scroll-conservatively Date: Sat, 26 Jun 2010 13:52:17 +0200 Message-ID: References: <83pqzec9i8.fsf@gnu.org> 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 1277553175 17641 80.91.229.12 (26 Jun 2010 11:52:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Jun 2010 11:52:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 26 13:52:51 2010 Return-path: Envelope-to: ged-emacs-devel@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 1OSTwF-00073j-25 for ged-emacs-devel@m.gmane.org; Sat, 26 Jun 2010 13:52:47 +0200 Original-Received: from localhost ([127.0.0.1]:44763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSTwE-0004Nv-2W for ged-emacs-devel@m.gmane.org; Sat, 26 Jun 2010 07:52:46 -0400 Original-Received: from [140.186.70.92] (port=34456 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSTw8-0004Nj-Ez for emacs-devel@gnu.org; Sat, 26 Jun 2010 07:52:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSTw7-00010J-EV for emacs-devel@gnu.org; Sat, 26 Jun 2010 07:52:40 -0400 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:64980) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSTw7-000104-7z; Sat, 26 Jun 2010 07:52:39 -0400 Original-Received: by bwz4 with SMTP id 4so3732241bwz.0 for ; Sat, 26 Jun 2010 04:52:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=EgPl28hoGPSw/CyDx7gSRGpCjPUVZ6z/cGmvImMaZyc=; b=vfxNBlAr2hzAynxyN8JkNIVHmaeUYuf+WVWTWzOB3HqpQdeTbxZ0QYsKWowcXOJ+Ax yPh5ls8yoFtGF/w3ovxL/TQeDmJoEYfpxDuQOENJfP+5LbCzIeiWAqbXz8JqVuYIDDHO aJD1PyrCxZDaUY5KFGib58m6lGxkCjuANMe1U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=gMLRYHEW2c/T5MTisr5k1819bOkB1Zrfea0y7CaT0jDNFsRR8uW3HRYS3iEsMOzSuK Dnf7nzQlAFWpIK8sd7N1+wt2lPhJE8lHc+azG83DJSolwDAOtbs0tdNXYLXqrpqm2LIN VztaZLTJ6J+ptboo+tCWasEA6Pg7KxYH9CSQs= Original-Received: by 10.204.3.198 with SMTP id 6mr1398580bko.205.1277553157257; Sat, 26 Jun 2010 04:52:37 -0700 (PDT) Original-Received: by 10.204.66.77 with HTTP; Sat, 26 Jun 2010 04:52:17 -0700 (PDT) In-Reply-To: <83pqzec9i8.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:126429 Archived-At: On Sat, Jun 26, 2010 at 13: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? No, I hadn't noticed. > it takes Emacs 17 seconds on my 3GHz machine to display xdisp.c around > line 25000, whereas it's instantaneous in Emacs 23.2. It takes ~10s on my 2.5GHz Core2Quad Q9300. Which is ~10s longer than it takes in 23.2, yes :-( > Note that the documentation of > scroll-conservatively explicitly says "set it to some small number N"; > i.e. it was never the intent that it will be set to such large values. The documentation is in conflict because, as I already pointed out, the docstring for `scroll-step' clearly says: If you want scrolling to always be a line at a time, you should set `scroll-conservatively' to a large value rather than set this to 1. which is what prompted me to set it to most-positive-fixnum in the first place. Perhaps, once the implementation is working as expected, we should simply add an option scroll-never-recenter or somesuch. > Btw, what do users of scroll-conservatively =3D most-positive-fixnum > want from C-v and PageDown keys? =C2=A0Is it okay to recenter in that cas= e, > or do you want to see the cursor on the last screen line in that case > as well? IIUC, if PgDown recenters, PgDown/PgUp will no longer be a noop (I set `scroll-preserve-screen-position' to `always'), which would be pretty bad. All in all, I would prefer for Emacs *never* recenter unless I ask it explicitly via C-l. Thanks for all the hard work on this issue. Juanma