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

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

bug#10105: 24.0.91; Possible bug in `scroll-conservatively'


From: Stefan Monnier
Subject: bug#10105: 24.0.91; Possible bug in `scroll-conservatively'
Date: Mon, 28 Nov 2011 12:37:47 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

>> > Why did you expect it to be at the bottom?
>> Because, after the "failing" C-s, the Isearch begins again from the
>> top of the buffer, so that the search direction is always (at least
>> conceptually) from top to bottom, i.e. _fordward_.
> The _search_ direction is forward, that's true.
> But scroll-conservatively is not about the search direction, it is
> about the direction in which point moves in the buffer from its last
> displayed location.  And that is _backward_, not forward.

Indeed: it would make sense to put point at the bottom, but that
requires information to which the redisplay does not have access.
If you really insist, you could make isearch force a redisplay with
point at (point-min) when doing the wrap around and before moving to the
actual destination, but I don't think we want to go that far.


        Stefan





reply via email to

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