help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: prevent scroll-lock-mode from scrolling?


From: lee
Subject: Re: prevent scroll-lock-mode from scrolling?
Date: Mon, 20 Jun 2016 16:32:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

<tomas@tuxteam.de> writes:

> On Mon, Jun 20, 2016 at 01:54:02AM +0200, lee wrote:
>> Eli Zaretskii <eliz@gnu.org> writes:

> [...]
>
>> The position of the cursor /within the buffer/ is irrelevant for where
>> it is /on the screen/.  It is relevant to me where the cursor is /on the
>> screen/ and /which buffer contents/ are around this screen position
>> (because I want to see them).  It is pretty much irrelevant at which
>> position /within the buffer/ the contents I want to see are.  I need
>> them displayed on the screen in a desirable way, and when programming,
>> the order and content of the lines I'm looking at are most of the time
>> much more important than it is where within the buffer they are.  (It
>> doesn't matter whether a function 'foo' is at line 500 or at line 5000
>> as long as it is declared before being used (which isn't required, but
>> it is what I do.))
>
> The only sense I can make of that is: you don't want point to move
> relative to the window *and* you don't want window to move relative
> to buffer.
>
> I know you can't mean that. At least it doesn't make sense to me,
> because it would inhibit any movement. So I must be misundertanding
> you.

So you get the idea: I want the buffer contents to move relative to the
window and relative to the cursor without the cursor and without the
window moving.  Suppose the window is the universe; the universe doesn't
move.


-- 
GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, X toolkit)
 of 2016-03-18 on heimdali



reply via email to

[Prev in Thread] Current Thread [Next in Thread]