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:52 -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 1278434651 27872 80.91.229.12 (6 Jul 2010 16:44:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Jul 2010 16:44:11 +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:44:09 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 1OWBFg-0007rE-Dm for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jul 2010 18:44:08 +0200 Original-Received: from localhost ([127.0.0.1]:43942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWBFf-0004Tf-CV for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jul 2010 12:44:07 -0400 Original-Received: from [140.186.70.92] (port=34987 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWBEY-0004Gm-Is for help-gnu-emacs@gnu.org; Tue, 06 Jul 2010 12:42:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWBEX-0003KN-Jd for help-gnu-emacs@gnu.org; Tue, 06 Jul 2010 12:42:58 -0400 Original-Received: from mail-px0-f169.google.com ([209.85.212.169]:64061) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWBEX-0003KB-EK for help-gnu-emacs@gnu.org; Tue, 06 Jul 2010 12:42:57 -0400 Original-Received: by pxi7 with SMTP id 7so1870608pxi.0 for ; Tue, 06 Jul 2010 09:42:56 -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=jjg9ZfaJBwJf0qW8zzpGQX1kbD1sOiJ9uXiBtZK7A6Y=; b=P6WNrCWYPyUP4W3+MJYQeHqhcqQSLQJclakyQ6Q60WQheUu1vq7ZnyokECxPdslixN zToFgSycoC6dPrxaInQLuObfAEpaTiUq4XTHDMx5o0/1mkq8jDnkSYHdXtYJyp17pLJV upUm8HU1nUHQmUcErhhoWNlG+bHJHNKkGoimw= 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=JkXJEIr6F+EV4PhPhbto6ylfd6Xj4zxmk9u8h4lsB/mApc91dQN/qtw2tYA4wSOozb dHK2EgpkHJZGjy7MB2T4HXrXJSZAw+ZYSCJFW8mN6g1XspJAECurgIS8yoLP7dfW7/Yl AWrY80/gj+SPe0+jrurBkUq7y0Qy1Da93oqhY= Original-Received: by 10.142.215.19 with SMTP id n19mr5998682wfg.261.1278434572870; Tue, 06 Jul 2010 09:42:52 -0700 (PDT) Original-Received: by 10.143.156.2 with HTTP; Tue, 6 Jul 2010 09:42:52 -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:74103 Archived-At: PS: I'd like it to work with the mouse wheel too. Thanks, Marcelo. On Tue, Jul 6, 2010 at 11:42 AM, Marcelo de Moraes Serpa wrote: > Thanks for the reply, Juanma, > >> (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) >> > > 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 wr= ote: >>> Is there a way to setup emacs for a almost-flawless smooth scrolling mo= de? >> >> 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 >> >