Subject: Re: bug#78074: isearch not respecting point when changing direction after scrolling

From: Juri Linkov <[email-masked]>
Date: Tue, 29 Apr 2025 19:35:46 +0300

close 78074 31.0.50
thanks

>>> I think this is a bug because it doesn't happen when
>>> `isearch-repeat-on-direction-change' has its default value of nil.
>>
>> Thanks for the bug report.  Maybe we don't need these lines
>> in 'isearch-repeat' after all:
>>
>>     (if (and isearch-other-end isearch-repeat-on-direction-change)
>>         (goto-char isearch-other-end))
>>
>> Could you please try to remove these 2 lines and see whether this
>> improves the behavior of changing the direction.
>
> Actually, this still should be used when changing the direction
> with point on the current match.  So here is the correct patch:

This is now pushed to master and closed.