emacs-devel
[Top][All Lists]
Advanced

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

Re: show-enclosing-scopes


From: Stefan Monnier
Subject: Re: show-enclosing-scopes
Date: Thu, 17 May 2018 16:24:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> > I'd say if it is known that the goal point is not inside the visible
>> > portion of the buffer after scrolling, don't scroll at all; instead,
>> > just move point to the goal.
>> I was assuming a situation such as a post-command-hook that wants to
>> override the scroll that might have taken place during the
>> preceding command.
> No, the scroll command is part of the pre-command-hook set up by the
> package.  Or at least that was my understanding.

Then indeed, most likely the better solution is to not scroll in the
first place.


        Stefan



reply via email to

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