From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: volodyan Newsgroups: gmane.emacs.help Subject: Re: Scroll preserving point position - other meaning Date: Thu, 15 Jan 2009 19:10:54 -0800 (PST) Message-ID: <21491801.post@talk.nabble.com> References: <21472671.post@talk.nabble.com> <20090115231432.GA13160@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232075486 14791 80.91.229.12 (16 Jan 2009 03:11:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Jan 2009 03:11:26 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 16 04:12:38 2009 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 1LNf8Q-00065S-33 for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Jan 2009 04:12:38 +0100 Original-Received: from localhost ([127.0.0.1]:58608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNf79-0002Ah-9p for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Jan 2009 22:11:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNf6r-0002Ab-2U for help-gnu-emacs@gnu.org; Thu, 15 Jan 2009 22:11:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNf6p-0002AN-5R for Help-gnu-emacs@gnu.org; Thu, 15 Jan 2009 22:11:00 -0500 Original-Received: from [199.232.76.173] (port=39346 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNf6o-0002AJ-Vt for Help-gnu-emacs@gnu.org; Thu, 15 Jan 2009 22:10:59 -0500 Original-Received: from kuber.nabble.com ([216.139.236.158]:53071) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LNf6o-0005u3-Ca for Help-gnu-emacs@gnu.org; Thu, 15 Jan 2009 22:10:58 -0500 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LNf6k-0006BB-EV for Help-gnu-emacs@gnu.org; Thu, 15 Jan 2009 19:10:54 -0800 In-Reply-To: <20090115231432.GA13160@muc.de> X-Nabble-From: volodyan@gmail.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:61391 Archived-At: I was trying to use Emacs in "browser mode": while editing keystrokes are very convenient, but when reading code I like to use a mouse, highlight a piece of code selecting it and then use scroll bar to read it and around. But I will learn alternative ways. Still I tried to find the discussion on this on DEV list and couldn't. I still find it hard to believe that adding a couple of global variables cannot make the cursor disappear when it touches the edge of the window and then reappear on entry. (I've never seen Emacs code before :-) Alan Mackenzie wrote: > > Hi, > > >> Hi, >> I am using Emacs with X and struggling to do the following. How can I >> preserve point's position while scrolling IN TEXT? > > You can't. This is one of the few things, possibly the only thing, that > you can't configure in Emacs. "Point" (that's the cursor position) is > constrained to be on the screen; lots of code depends on this. > > The next question is what do you _really_ want to do? There are likely > other things ways you can achieve this, whatever it is, in Emacs. > > >> In all other graphical editors scrolling with a mouse doesn't move >> point/unselects region. I just "upgraded" to Emacs from Eclipse and I >> guess there is a way to get such behavior in Emacs. How? > > Emacs is primarily a text editor. :-) It works equally well on a > terminal without a mouse, say over a comms line. Only some actions can > be done conveniently with the mouse. I'd recommend you to learn some > key sequences (such as the ones above) too. Try C-M-a and C-M-e > sometime. :-) > >> Thanks for your help > > -- > Alan Mackenzie (Nuremberg, Germany). > > > > -- View this message in context: http://www.nabble.com/Scroll-preserving-point-position---other-meaning-tp21472671p21491801.html Sent from the Emacs - Help mailing list archive at Nabble.com.