From: Eli Zaretskii <eliz@elta.co.il>
Subject: Re: allowing scroll to move point off screen
Date: 14 Mar 2004 08:07:09 +0200 [thread overview]
Message-ID: <uekrw7yia.fsf@elta.co.il> (raw)
In-Reply-To: <Pine.GSO.4.58.0403101217370.29274@oscar.cc.gatech.edu> (ynniv@cc.gatech.edu)
> Date: Wed, 10 Mar 2004 12:36:39 -0500 (EST)
> From: "Vincent A. Fiano" <ynniv@cc.gatech.edu>
>
> 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
Right.
> but is there any way to allow the scroll bar and mouse wheel to move
> the point off the screen?
No. Keeping point visible at all times is one of the most important
design goals of the Emacs redisplay engine.
See the variable scroll-preserve-screen-position for something that
might help you.
Also, in Emacs you can have more than one window looking at the same
buffer, each window with its own value of point.
prev parent reply other threads:[~2004-03-14 6:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-10 17:36 allowing scroll to move point off screen Vincent A. Fiano
2004-03-14 6:07 ` Eli Zaretskii [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uekrw7yia.fsf@elta.co.il \
--to=eliz@elta.co.il \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).