all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Hansen <david.hansen@gmx.net>
Subject: Re: Scrolling and cursor
Date: Tue, 29 Aug 2006 19:40:23 +0200	[thread overview]
Message-ID: <877j0rphiw.fsf@robotron.kosmorama> (raw)
In-Reply-To: 1156868437.799237.50150@p79g2000cwp.googlegroups.com

On 29 Aug 2006 09:20:37 -0700 peter barabas wrote:

> Can I make the cursor stay where it is, even when I scroll down 1000
> lines? I'd like it to stay in its absolute position (e.g. if it was on
> line 10, stay on that line). I found scroll-preserve-screen-position,
> but it only preserves cursor position in a screen and not in the whole
> buffer.

AFAIK not.  But you can set the mark with C-SPC and after
scrolling around exchange point and mark with C-x C-x.

If you have transient mark mode enabled this method would
look rather ugly.  But you can use registers instead.
E.g. put point into register 1 with C-x r SPC 1 and after
some scrolling jump back to register 1 with C-x r j 1.

David

      reply	other threads:[~2006-08-29 17:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-29 16:20 Scrolling and cursor peter.barabas
2006-08-29 17:40 ` David Hansen [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=877j0rphiw.fsf@robotron.kosmorama \
    --to=david.hansen@gmx.net \
    /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.