all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: volodyan <volodyan@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: Scroll preserving point position - other meaning
Date: Thu, 15 Jan 2009 19:10:54 -0800 (PST)	[thread overview]
Message-ID: <21491801.post@talk.nabble.com> (raw)
In-Reply-To: <20090115231432.GA13160@muc.de>


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	other threads:[~2009-01-16  3:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-15  7:29 Scroll preserving point position - other meaning volodyan
2009-01-15 15:25 ` Lennart Borgman
     [not found] ` <mailman.4942.1232033132.26697.help-gnu-emacs@gnu.org>
2009-01-15 16:38   ` Andreas Politz
2009-01-15 21:27     ` volodyan
2009-01-15 21:55 ` tyler
2009-01-15 23:14 ` Alan Mackenzie
2009-01-16  3:10   ` volodyan [this message]
     [not found] <mailman.4926.1232027586.26697.help-gnu-emacs@gnu.org>
2009-01-15 15:25 ` Xah Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21491801.post@talk.nabble.com \
    --to=volodyan@gmail.com \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.