all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to keep cursor stationary when scrolling with mouse
@ 2014-11-18  1:41 JohnF
  2014-11-18  2:24 ` Emanuel Berg
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: JohnF @ 2014-11-18  1:41 UTC (permalink / raw)
  To: help-gnu-emacs

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 )


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-27  3:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-18  1:41 how to keep cursor stationary when scrolling with mouse JohnF
2014-11-18  2:24 ` 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

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.