From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ekkehard Goerlach Newsgroups: gmane.emacs.help Subject: Re: Scrolling screen one line Date: 03 Jan 2003 23:08:49 +0100 Organization: T-Online Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1041632033 24954 80.91.224.249 (3 Jan 2003 22:13:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 3 Jan 2003 22:13:53 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Ua4Z-0006U3-00 for ; Fri, 03 Jan 2003 23:13:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Ua1h-0006mC-00 for gnu-help-gnu-emacs@m.gmane.org; Fri, 03 Jan 2003 17:10:49 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-X-Trace: news.t-online.com 1041631708 05 29887 Q7LCEWBXSBAGtn 030103 22:08:28 Original-X-Complaints-To: abuse@t-online.com X-Sender: 520065755248-0001@t-dialin.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:108669 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5198 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5198 I have (global-set-key [M-up] (lambda() (interactive) (scroll-down 1) (previous-line 1))) (global-set-key [M-down] (lambda() (interactive) (scroll-up 1) (next-line 1))) (global-set-key [S-up] (lambda() (interactive) (scroll-up 1))) (global-set-key [S-down] (lambda() (interactive) (scroll-down 1))) The M- commands leave the cursor where it is and only scroll the text of the buffer, the S- commands scroll text and cursor. Ekkehard -- Ekkehard Görlach Tumringerstrasse 287 e.goerlach@computer.org D-79539 Lörrach