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:47:54 -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 1278435448 31025 80.91.229.12 (6 Jul 2010 16:57:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Jul 2010 16:57:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Deniz Dogan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 06 18:57:27 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 1OWBSX-000654-T6 for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jul 2010 18:57:26 +0200 Original-Received: from localhost ([127.0.0.1]:51023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWBNp-0000PR-9M for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jul 2010 12:52:33 -0400 Original-Received: from [140.186.70.92] (port=34812 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWBMQ-0000DM-Qd for help-gnu-emacs@gnu.org; Tue, 06 Jul 2010 12:51:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWBJM-00043M-NH for help-gnu-emacs@gnu.org; Tue, 06 Jul 2010 12:47:57 -0400 Original-Received: from mail-pz0-f41.google.com ([209.85.210.41]:41041) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWBJM-00043G-Im for help-gnu-emacs@gnu.org; Tue, 06 Jul 2010 12:47:56 -0400 Original-Received: by pzk33 with SMTP id 33so2765882pzk.0 for ; Tue, 06 Jul 2010 09:47:55 -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=aUH3PL0ARE49Q2eEhG7ceTgJCX6yeHfAOJo30Lj9jKE=; b=X4oPaez+sduUg/z/4n4F5CKXMhLQ0Fz8j/zNxPzLo9NzrVl0y6lCS8/Q6MnaO4lFfc kz7gi5Di8HFzLgCkudVHu2/1RWTQRfE0wx+9iMqBJocYExzxlxmS6LPCEnYPYc109tGz n6LvsYsLmcKe0PFzadKzHKHWmj6v1D9jy2lYg= 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=P5YV/7DThBr2uZuMRK07zPpTEdxBmzj3MgG3yCAbtW06c0aRqqEetX2jEa81VeJkqu ebgty43dXleC1RoMrQuqQGplU4aRkyicBDVTFkfCmlhHnNBWp5HpDibpUtP7kMuLky2K 3RyiINrGgYAKZo/sagedmgXNgVk1FdI1W0wJE= Original-Received: by 10.142.215.21 with SMTP id n21mr6014721wfg.36.1278434874623; Tue, 06 Jul 2010 09:47:54 -0700 (PDT) Original-Received: by 10.143.156.2 with HTTP; Tue, 6 Jul 2010 09:47:54 -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:74106 Archived-At: Yeah, I do use the wheel to scroll from time to time, it's pretty useful to scan a long file, for example. Marcelo. On Tue, Jul 6, 2010 at 11:45 AM, Deniz Dogan wr= ote: > 2010/7/6 Marcelo de Moraes Serpa : >> 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? >> > > The code that Juanma gave you makes Emacs scroll "line by line" when > moving the cursor. Are you by any chance using the scroll wheel to > scroll? > > -- > Deniz Dogan >