all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim Johnson <tim@akwebsoft.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Pageup/down with fixed cursor position
Date: Fri, 10 Mar 2017 09:38:55 -0900	[thread overview]
Message-ID: <20170310183855.GQ2502@mail.akwebsoft.com> (raw)
In-Reply-To: <CAFyQvY3gUCMyDRtMdd4rSXJ-=gHwaSEHcnT-onb24Yv8+2wYeQ@mail.gmail.com>

* 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



      reply	other threads:[~2017-03-10 18:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=20170310183855.GQ2502@mail.akwebsoft.com \
    --to=tim@akwebsoft.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.