From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcelo de Moraes Serpa Newsgroups: gmane.emacs.help Subject: Re: Smooth scrolling Date: Tue, 6 Jul 2010 11:42:11 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278434588 27609 80.91.229.12 (6 Jul 2010 16:43:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Jul 2010 16:43:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Juanma Barranquero Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 06 18:43:06 2010 Return-path: Envelope-to: geh-help-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 1OWBEf-0007KC-F5 for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jul 2010 18:43:05 +0200 Original-Received: from localhost ([127.0.0.1]:43189 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWBEe-0003oa-Pp for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jul 2010 12:43:04 -0400 Original-Received: from [140.186.70.92] (port=34899 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWBDr-0003nR-J6 for help-gnu-emacs@gnu.org; Tue, 06 Jul 2010 12:42:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWBDp-0003DL-2M for help-gnu-emacs@gnu.org; Tue, 06 Jul 2010 12:42:15 -0400 Original-Received: from mail-px0-f179.google.com ([209.85.212.179]:45623) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWBDo-0003DG-S0 for help-gnu-emacs@gnu.org; Tue, 06 Jul 2010 12:42:13 -0400 Original-Received: by pxi2 with SMTP id 2so856554pxi.38 for ; Tue, 06 Jul 2010 09:42:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=XVYZSi0WXWaG/+ehNQxJ7924E0hkLZbh5RL+BGJdduQ=; b=lR9w/Xym1wfCixdeXlGqAal8yK9dZoHIWC+Jhmy3X0TxclZObYKRkyygzV9c4dvBc3 /REb2eFuNaYp4d8NPsRgv14u4kEvgoqq8igijMZVSrxnAuz0U42t1v5Y26Ed6kPwUtQI XGZJNK7UxKOOOeXlAMPbhYF1iKmmfXSUZ69mw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=bqvWNCYTxNKUO9RouT5k7OyxOVtiHz9/RQYup8ktHdWYkqD+nsxgyP7OqSLnNC5LsR 64gJApiAzEeDXJaKDeMSUQHnrytbCr0JnVs0X9HFPTZQqidkPkR999eqLNSuVxaUnZYc 9EzS4O+0dINELdQ4pyM/m2COmeTL+IIhqjAHY= Original-Received: by 10.142.223.21 with SMTP id v21mr5749607wfg.318.1278434531765; Tue, 06 Jul 2010 09:42:11 -0700 (PDT) Original-Received: by 10.143.156.2 with HTTP; Tue, 6 Jul 2010 09:42:11 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74102 Archived-At: Thanks for the reply, Juanma, > (setq redisplay-dont-pause t > scroll-conservatively most-positive-fixnum > scroll-step 0) > > and perhaps, depending on your tastes > > (setq scroll-preserve-screen-position 'always) > I evaluated them on scratch but didn't see any difference. How am I supposed to use the code? Cheers, Marcelo. On Tue, Jul 6, 2010 at 11:37 AM, Juanma Barranquero wrot= e: >> Is there a way to setup emacs for a almost-flawless smooth scrolling mod= e? > > You can try > > (setq redisplay-dont-pause t > =A0 =A0 =A0scroll-conservatively most-positive-fixnum > =A0 =A0 =A0scroll-step 0) > > and perhaps, depending on your tastes > > (setq scroll-preserve-screen-position 'always) > > =A0 =A0Juanma >