From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Vincent A. Fiano" Newsgroups: gmane.emacs.help Subject: allowing scroll to move point off screen Date: Wed, 10 Mar 2004 12:36:39 -0500 (EST) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1079113664 6181 80.91.224.253 (12 Mar 2004 17:47:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Mar 2004 17:47:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 12 18:47:30 2004 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 1B1qks-0006fR-00 for ; Fri, 12 Mar 2004 18:47:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1aJq-0003gn-AZ for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Mar 2004 19:14:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B17dx-0000Cr-VW for help-gnu-emacs@gnu.org; Wed, 10 Mar 2004 12:37:21 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B17dN-0008Uw-LJ for help-gnu-emacs@gnu.org; Wed, 10 Mar 2004 12:37:17 -0500 Original-Received: from [130.207.7.23] (helo=sark.cc.gatech.edu) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B17dM-0008Uc-Pa for help-gnu-emacs@gnu.org; Wed, 10 Mar 2004 12:36:44 -0500 Original-Received: from oscar.cc.gatech.edu (oscar.cc.gatech.edu [130.207.107.12]) by sark.cc.gatech.edu (8.12.10/8.12.8) with ESMTP id i2AHaeKt028558 for ; Wed, 10 Mar 2004 12:36:40 -0500 (EST) Original-Received: from localhost (ynniv@localhost) by oscar.cc.gatech.edu (8.12.10/8.12.8) with ESMTP id i2AHadS6001308 for ; Wed, 10 Mar 2004 12:36:39 -0500 (EST) Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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:17558 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17558 I've been using emacs for many years, but I really like the way that the simple GUI editors scroll - they leave the cursor at the same buffer position even if it is off screen. This has the advantage of being able to look at another part of the buffer, but snap back to your current buffer position by typing or moving the point. It seems that keeping the point on the screen is hard coded into the redisplay function of emacs, but is there any way to allow the scroll bar and mouse wheel to move the point off the screen? Unfortunately, from what I can tell redisplay automatically adjusts window-start and window-end and the point to keep the point on the screen, and it does not know if I am scrolling via a scrollbar or page up/down key. Is there a variable I can set that controls whether redisplay recenters the point or not? Given this I think that I can manage the rest myself. - Vincent =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Vincent Fiano / ynniv@cc.gatech.edu ------ - - - `--------------> www.ynniv.com M o o F