Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C-s and C-r doesn't always search the next or previous occurrence. #122

Open
4goodapp opened this issue Aug 20, 2022 · 2 comments
Open

C-s and C-r doesn't always search the next or previous occurrence. #122

4goodapp opened this issue Aug 20, 2022 · 2 comments

Comments

@4goodapp
Copy link

4goodapp commented Aug 20, 2022

When I run ctrlf then run the command other-window C-x o , (to maybe do some editing), I have to run other-window C-x o again to get back to ctrlf.
I expect I can run C-s or C-r anytime, whether the point is in the mini buffer or in the main buffer.

CTRLF takes the basic idea of Isearch, together with most of its keybindings, but emulates the more reliable user experience of web browser text search. For example: all editing commands can be used during a search as usual; C-g always has the effect of canceling the search; and C-s ALWAYS moves to the next candidate, with wraparound signaled by an overlay which indicates the current match index and the total number of matches (another UI paradigm borrowed from other programs).

@raxod502
Copy link
Member

raxod502 commented Aug 21, 2022

Fair enough. It looks like the current behavior is C-s and C-r have no effect when typed outside the minibuffer during an active search. I agree it would be an improvement to make them have the same effect as when point is in the minibuffer.

Until that is fixed, the best workaround I can think of is exiting the search with RET to perform editing, then resuming it with C-s C-s when editing is done. This is what I personally do.

@4goodapp
Copy link
Author

Until that is fixed, the best workaround I can think of is exiting the search with RET to perform editing, then resuming it with C-s C-s when editing is done. This is what I personally do.

This workaround is fine for me as well.
C-s C-s bring back ctrlf with previous searched text.
Much easier than using other-window C-x o. Still I think ctrlf should after using other command command like other-window. Hopefully a fix won't be hard to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants