-
Notifications
You must be signed in to change notification settings - Fork 135
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
rewrite search related code with isearch(ready to be reviewed) #560
Conversation
0a352e0
to
fca50ee
Compare
Thanks! I like the idea to reuse the functionalities of isearch/lazy-highlight. A couple of issues I noticed,
|
old master branch:
edit: |
b333448
to
abe8700
Compare
I haven't tried it yet. |
yes a selection is needed, After a
I think let the isearch handle the detail, that is the easist way.
这些变量 会影响搜索的结果, 如果自行实现,相当于把isearch做 的事重做一遍,否则只能支持其中某些特例。 |
066c303
to
ec2aacd
Compare
I'll give it a try. |
290e0e4
to
8617f38
Compare
The update addresses the following two issues:
更新了一版 处理以下2个问题:
|
@jixiuf I just tried the PR. I think it mostly works good, but there are edge cases.
I think the default command behaviors must remain the same. Probably we should look for a not so tight integration between meow's visit and isearch. For example, instead of creating a selection immediately, we can create this selection with a following |
I make another force-push, could you try it. |
It seems that |
Yes. |
Yes. The point is we shouldn't modify any of the builtin behaviors. Well |
another |
Sorry, I think there are still some issues.
Please leave the PR here, I may want to change something before I merge it. Thanks for the contribution anyway! |
It's ok. but for the occurrence counter you can just |
Sorry for the late response, I fixed the conflicts and pushed to a branch, check this: 9d94d7e It still has some issues. I'll find some time to work on it. I'll close this issue for now. |
After a isearch(
C-s
) search, you can usen
(meow-search
) or;n
(nemw-reverse
+meow-search
) to search next/previous occurrence now.need