From: JohnF <john@please.see.sig.for.email.com>
To: help-gnu-emacs@gnu.org
Subject: how to keep cursor stationary when scrolling with mouse
Date: Tue, 18 Nov 2014 01:41:17 +0000 (UTC) [thread overview]
Message-ID: <m4e83s$b1q$1@reader1.panix.com> (raw)
My .emacs init has
(setq scroll-preserve-screen-position t)
(setq scroll-conservatively 0)
(setq auto-window-vscroll nil)
(setq scroll-up nil)
(setq scroll-down nil)
(setq scroll-up-aggressively nil)
(setq scroll-down-aggressively nil)
some of which may be unnecessary, redundant, or wrong
(I don't know elisp or exactly what I'm doing here).
But it keeps the point/cursor stationary on the screen
when scrolling with keyboard keys Page and Arrow Up/Down.
That's what I want.
But when scrolling with the mouse, either with its
wheel or by dragging the right-hand side slider bar, the
cursor reverts to default behavior, following the text and
jumping back to center when scrolling past the page top/bottom.
I've failed to google how to stop that. What can I put
in .emacs so that the point/cursor remains stationary on
the screen, rather than following the text, when scrolling
with the mouse? Thanks,
--
John Forkosh ( mailto: j@f.com where j=john and f=forkosh )
next reply other threads:[~2014-11-18 1:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-18 1:41 JohnF [this message]
2014-11-18 2:24 ` how to keep cursor stationary when scrolling with mouse Emanuel Berg
2014-11-19 3:17 ` JohnF
2014-11-27 3:35 ` Emanuel Berg
2014-11-18 11:30 ` Michael Heerdegen
[not found] ` <mailman.13943.1416310235.1147.help-gnu-emacs@gnu.org>
2014-11-19 2:59 ` JohnF
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='m4e83s$b1q$1@reader1.panix.com' \
--to=john@please.see.sig.for.email.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.