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

Emacs get stuck when replacing ^$ using swiper #2232

Closed
AmaiKinono opened this issue Sep 14, 2019 · 2 comments
Closed

Emacs get stuck when replacing ^$ using swiper #2232

AmaiKinono opened this issue Sep 14, 2019 · 2 comments

Comments

@AmaiKinono
Copy link
Contributor

@AmaiKinono AmaiKinono commented Sep 14, 2019

When searching for ^$(empty lines) using swiper, and press M-q to replace it, Emacs will get stuck.

Tested using make plain, and isearch-query-replace-regexp works well.

@abo-abo
Copy link
Owner

@abo-abo abo-abo commented Oct 10, 2019

Thanks, please test.

@AmaiKinono
Copy link
Contributor Author

@AmaiKinono AmaiKinono commented Oct 11, 2019

It works. Thanks!

astoff pushed a commit to astoff/swiper that referenced this issue Jan 1, 2021
When the match length is 0, `forward-char' so that the while loop is
not stuck.

Fixes abo-abo#2232
astoff pushed a commit to astoff/swiper that referenced this issue Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants