* Scrolling and cursor
@ 2006-08-29 16:20 peter.barabas
2006-08-29 17:40 ` David Hansen
0 siblings, 1 reply; 2+ messages in thread
From: peter.barabas @ 2006-08-29 16:20 UTC (permalink / raw)
Hello,
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.
Thank you in advance.
Greetings,
Peter.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Scrolling and cursor
2006-08-29 16:20 Scrolling and cursor peter.barabas
@ 2006-08-29 17:40 ` David Hansen
0 siblings, 0 replies; 2+ messages in thread
From: David Hansen @ 2006-08-29 17:40 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-29 17:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-29 16:20 Scrolling and cursor peter.barabas
2006-08-29 17:40 ` David Hansen
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).