* Pageup/down with fixed cursor position
@ 2017-03-10 16:48 Tim Johnson
2017-03-10 16:51 ` Kaushal Modi
0 siblings, 1 reply; 3+ messages in thread
From: Tim Johnson @ 2017-03-10 16:48 UTC (permalink / raw)
To: Emacs
GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
Ubuntu 14.04
I'd like to retain my cursor position (when possible) relative to
top/bottom of window when using C-v and M-v
I'm unable to deduce such a method from the documentation for
'scroll-up-command and 'scroll-down-command
Any ideas are welcome. Keywords are probably all I need.
thanks
--
Tim
http://www.akwebsoft.com, http://www.tj49.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Pageup/down with fixed cursor position
2017-03-10 16:48 Pageup/down with fixed cursor position Tim Johnson
@ 2017-03-10 16:51 ` Kaushal Modi
2017-03-10 18:38 ` Tim Johnson
0 siblings, 1 reply; 3+ messages in thread
From: Kaushal Modi @ 2017-03-10 16:51 UTC (permalink / raw)
To: Emacs
Try setting scroll-preserve-screen-position to t.
(I really think that should be the default.)
On Fri, Mar 10, 2017 at 11:49 AM Tim Johnson <tim@akwebsoft.com> wrote:
> GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
> Ubuntu 14.04
>
> I'd like to retain my cursor position (when possible) relative to
> top/bottom of window when using C-v and M-v
>
> I'm unable to deduce such a method from the documentation for
> 'scroll-up-command and 'scroll-down-command
>
> Any ideas are welcome. Keywords are probably all I need.
>
> thanks
> --
> Tim
> http://www.akwebsoft.com, http://www.tj49.com
>
> --
Kaushal Modi
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Pageup/down with fixed cursor position
2017-03-10 16:51 ` Kaushal Modi
@ 2017-03-10 18:38 ` Tim Johnson
0 siblings, 0 replies; 3+ messages in thread
From: Tim Johnson @ 2017-03-10 18:38 UTC (permalink / raw)
To: help-gnu-emacs
* Kaushal Modi <kaushal.modi@gmail.com> [170310 08:01]:
> Try setting scroll-preserve-screen-position to t.
Oh! And duh! That's it. Thank you very much.
cheers
- tj -
> (I really think that should be the default.)
>
> On Fri, Mar 10, 2017 at 11:49 AM Tim Johnson <tim@akwebsoft.com> wrote:
>
> > GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
> > Ubuntu 14.04
> >
> > I'd like to retain my cursor position (when possible) relative to
> > top/bottom of window when using C-v and M-v
> >
> > I'm unable to deduce such a method from the documentation for
> > 'scroll-up-command and 'scroll-down-command
> >
> > Any ideas are welcome. Keywords are probably all I need.
> >
> > thanks
> > --
> > Tim
> > http://www.akwebsoft.com, http://www.tj49.com
> >
> > --
>
> Kaushal Modi
--
Tim
http://www.akwebsoft.com, http://www.tj49.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-03-10 18:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-10 16:48 Pageup/down with fixed cursor position Tim Johnson
2017-03-10 16:51 ` Kaushal Modi
2017-03-10 18:38 ` Tim Johnson
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).