From: "Vincent A. Fiano" <ynniv@cc.gatech.edu>
Subject: allowing scroll to move point off screen
Date: Wed, 10 Mar 2004 12:36:39 -0500 (EST) [thread overview]
Message-ID: <Pine.GSO.4.58.0403101217370.29274@oscar.cc.gatech.edu> (raw)
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
next reply other threads:[~2004-03-10 17:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-10 17:36 Vincent A. Fiano [this message]
2004-03-14 6:07 ` allowing scroll to move point off screen Eli Zaretskii
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=Pine.GSO.4.58.0403101217370.29274@oscar.cc.gatech.edu \
--to=ynniv@cc.gatech.edu \
/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).