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

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

bug#27932: 26.0.50; Feature request: prevent scroll commands from changi


From: Dani Moncayo
Subject: bug#27932: 26.0.50; Feature request: prevent scroll commands from changing the buffer location of point
Date: Mon, 7 Aug 2017 23:09:36 +0200

>> In short: point movement should trigger auto-scrolling (as now), but
>> scrolling should not move point.
>
> I see a possible misunderstanding here: the way scrolling works in
> Emacs, it moves point and then lets the display engine scroll the text
> in the window to make point visible.  So the two use cases you try to
> differentiate are actually indistinguishable as far as the display
> engine is concerned.  For example, invoking goto-char invokes the same
> display code as scrolling commands, which is why scroll-conservatively
> is obeyed even by goto-char (as many users expect).

Ok I think I understand.

Then, the proposed feature would require a rethink of that approach,
because user-requested scrolling (C-v, M-v, mouse-wheel) would _not_
be driven by point movement, obviously.

-- 
Dani Moncayo





reply via email to

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