help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scroll preserving point position - other meaning


From: volodyan
Subject: Re: Scroll preserving point position - other meaning
Date: Thu, 15 Jan 2009 19:10:54 -0800 (PST)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]