From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: How to scroll while keeping the position of the point with respect to the text? Date: Wed, 5 Sep 2007 23:42:01 +0200 Message-ID: <2BCB51DE-BE80-4571-BF02-BD4DD1CDC927@Web.DE> References: <1189019337.916627.259710@57g2000hsv.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189028550 31183 80.91.229.12 (5 Sep 2007 21:42:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Sep 2007 21:42:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Yevgeniy Makarov Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 05 23:42:30 2007 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.50) id 1IT2dn-0001DY-B3 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Sep 2007 23:42:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IT2dl-0002Bv-Ox for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Sep 2007 17:42:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IT2dT-0002BX-Cy for help-gnu-emacs@gnu.org; Wed, 05 Sep 2007 17:42:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IT2dR-0002BK-W4 for help-gnu-emacs@gnu.org; Wed, 05 Sep 2007 17:42:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IT2dR-0002BH-PQ for help-gnu-emacs@gnu.org; Wed, 05 Sep 2007 17:42:05 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IT2dR-0000e0-92 for help-gnu-emacs@gnu.org; Wed, 05 Sep 2007 17:42:05 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id 71E9E987AD60; Wed, 5 Sep 2007 23:42:04 +0200 (CEST) Original-Received: from [89.58.73.247] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #197) id 1IT2dQ-0000nm-00; Wed, 05 Sep 2007 23:42:04 +0200 In-Reply-To: <1189019337.916627.259710@57g2000hsv.googlegroups.com> X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX18POBLwKEDlRn+IIYHpL3JOdU86NVd8lVWvGs4G vH1XYn1n7QkqClwpBVstIhdtR5GRytcqCnE3XJRA6i4iB+HYvR lTYJwv1U9erJ1zbuwq4g== X-Detected-Kernel: Linux 2.4-2.6 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:47256 Archived-At: Am 05.09.2007 um 21:08 schrieb Yevgeniy Makarov: > I am looking for a way to scroll text vertically without moving the > position of point with respect to the text. I have these two functions from Jeff Peck: (defun scroll-down-in-place (n) (interactive "p") (previous-line n) (scroll-down n)) (defun scroll-up-in-place (n) (interactive "p") (next-line n) (scroll-up n)) -- Greetings Pete The human brain operates at only 10% of its capacity. The rest is overhead for the operating system.