From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Harshdeep S Jawanda Newsgroups: gmane.emacs.help Subject: Re: scrolling Date: Fri, 08 Aug 2003 11:15:05 -0600 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3F33DA99.2090405@cs.unm.edu> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1060386661 3357 80.91.224.253 (8 Aug 2003 23:51:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2003 23:51:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 09 01:51:27 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19lH15-0005f5-00 for ; Sat, 09 Aug 2003 01:51:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19lCJE-0006Ic-68 for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Aug 2003 14:49:52 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19lCIw-0006Ha-VB for help-gnu-emacs@gnu.org; Fri, 08 Aug 2003 14:49:34 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19lApd-0005TY-Ao for help-gnu-emacs@gnu.org; Fri, 08 Aug 2003 13:15:44 -0400 Original-Received: from [64.106.20.33] (helo=mail.cs.unm.edu) by monty-python.gnu.org with esmtp (Exim 4.20) id 19lApa-0005Sm-SK for help-gnu-emacs@gnu.org; Fri, 08 Aug 2003 13:15:11 -0400 Original-Received: from [129.24.116.53] (helo=cs.unm.edu) by mail.cs.unm.edu with asmtp (Exim 3.35 #1 (Debian)) id 19lApV-0008I3-00 for ; Fri, 08 Aug 2003 11:15:05 -0600 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en Original-To: help-gnu-emacs@gnu.org In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11678 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11678 The following work for me: * For scrolling down one line, I use C-down (the down arrow): (global-set-key [C-down] '"\C-u1\C-v") * For scrolling up one line, I user C-up (the up arrow): (global-set-key [C-up] '"\C-u1\M-v") schaecsn wrote: >Hi, > >1) Let's assume the cursor is somewhere in the middle of the >screen. How can I scroll the screen by 1 line up or down? > >2) If I'm at the bottom of the screen and I press cursor-down then the >screen scrolls by several lines. Google told me to set scroll-step to >1. > >(setq scroll-step 1) > >That works several times but then the cursor is suddenly in the middle >of the screen. I don't like that. > > >Thanks for any help :) > -- Harshdeep S Jawanda