help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .emacs to keep cursor stationary when scrolling with mouse


From: tomas
Subject: Re: .emacs to keep cursor stationary when scrolling with mouse
Date: Sat, 30 May 2015 08:26:08 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, May 30, 2015 at 03:43:21AM +0000, JohnF wrote:

[...]

> Thanks for terminology correction. Well, I do want to see the point,
> but, yes, very definitely, I want it to stay fixed when text scrolls.
                                          ^^^^^^^^^^

Just one remark, perhaps to ease communication. When you say "stay fixed",
you mean *relative to the window* and not *relative to the buffer* (in
other words, to the underlying text), right?

It took me a while to realize that. That's because the mental model of
an Emacs person seems to be more: the buffer (i.e. the "text") is fixed,
and point (i.e. the cursor) and window (i.e. the viewport, through which
you look at the text), both move relative to it.

Seen from that perspective, you want to "move" point along with "window",
right?

regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlVpWAAACgkQBcgs9XrR2kazTQCggFuuFbUZGoxNQxMwPbjcA7aL
Rl4An1ifFuLMlfc1yUR9aEIqBeNupRky
=Js0B
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]