unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Deniz Dogan <deniz.a.m.dogan@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: scroll-(down|up) but stay on the same column
Date: Wed, 11 Nov 2009 09:18:02 -0500	[thread overview]
Message-ID: <jwv8wedno2k.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <7b501d5c0911110111j3ae3aae6nc3f30d20be142232@mail.gmail.com> (Deniz Dogan's message of "Wed, 11 Nov 2009 10:11:37 +0100")

> Lately, it has been bothering me that when I hit C-v or M-v point is
> moved to the first column of the target line. I don't have the C
> source code at hand and my C-fu is probably too weak anyways, so is
> there any built-in command which does the equivalent of
> scroll-(down|up) but tries to keep point at the same column or should
> I craft one myself?

C-h v scroll-preserve-screen-position


        Stefan




  reply	other threads:[~2009-11-11 14:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-11  9:11 scroll-(down|up) but stay on the same column Deniz Dogan
2009-11-11 14:18 ` Stefan Monnier [this message]
2009-11-11 15:52   ` Deniz Dogan
2009-11-11 16:37     ` Stefan Monnier
2009-11-12 10:05       ` Deniz Dogan
2009-11-13  4:56         ` Richard Stallman
2009-11-13 12:26           ` Juanma Barranquero
2009-11-15 15:01             ` Juri Linkov

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv8wedno2k.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=deniz.a.m.dogan@gmail.com \
    --cc=emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).