From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.help Subject: Re: Smooth scrolling Date: Tue, 6 Jul 2010 18:45:25 +0200 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 1278434923 29052 80.91.229.12 (6 Jul 2010 16:48:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Jul 2010 16:48:43 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Marcelo de Moraes Serpa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 06 18:48:41 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 1OWBJK-0001ZB-JJ for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jul 2010 18:48:40 +0200 Original-Received: from localhost ([127.0.0.1]:53986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWBJC-00076d-3D for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jul 2010 12:47:46 -0400 Original-Received: from [140.186.70.92] (port=36518 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWBHr-0006j8-Cu for help-gnu-emacs@gnu.org; Tue, 06 Jul 2010 12:46:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWBHQ-0003mG-RE for help-gnu-emacs@gnu.org; Tue, 06 Jul 2010 12:45:58 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:60040) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWBHQ-0003lx-IR for help-gnu-emacs@gnu.org; Tue, 06 Jul 2010 12:45:56 -0400 Original-Received: by fxm20 with SMTP id 20so1111975fxm.0 for ; Tue, 06 Jul 2010 09:45:55 -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=O8EoQtaVu8SCnd4XaPZnhjU5F4CVFMuQX7zfVyHFTfA=; b=ht6G58pu1DcfDt8hpepv3IV90BDdwGtRL49MnqHzCSmsC0qiAfL8NiZZKdILrq0a2w Hb/3QHFSSVIALT8kEQjWdxKl8x7uXLCSIpOCyaY5XY2aUW/Pn7oEp1gvk4UWLI4BmpZx GiP/k2HArbx0aziqrypS9j+kJ5NTK6JLdl6D4= 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=H5yBp08V2S+dEjbw4IQ/lnqNej1/793DPzj6/58aYh3b07XY0dlkeVmDqWFQA2REW5 hqP656jmODjGMo5RA22R4uF3ci1FGY9m9LTyjk1O2hNMO1jMNPBeM70UwRJfEOZStAU0 KWKtCquAnMuaAVHoQS8+zzWdEn+uJqo0WjlOA= Original-Received: by 10.239.150.142 with SMTP id n14mr564661hbb.71.1278434755207; Tue, 06 Jul 2010 09:45:55 -0700 (PDT) Original-Received: by 10.239.160.139 with HTTP; Tue, 6 Jul 2010 09:45:25 -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:74104 Archived-At: 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? --=20 Deniz Dogan