3

With the regular search forward from Emacs if you keep pressing C-s you cycle through all the findings.

Right now I'm using visual-regexp package with the visual-regexp-steroids extension that has a forward search too, but using regular expressions ( vr/isearch-forward). After running the search how do I cycle through all the findings?.

Fabman
  • 578
  • 2
  • 14

2 Answers2

2

Now that you've clarified that you use vr/isearch-forward from visual-regexp-steroids.el, I tried it, and I see no problem. Repeating C-s advances through the search hits.

IOW, it works for me, at least. All I did was load the file, set vr/engine to emacs (since I am used to Emacs-style regexps), and try vr/isearch-forward with a simple regexp. Using C-s repeatedly after that navigated through the search hits.

Does it not work if you start Emacs without your init file: emacs -Q? If that works then recursively bisect your init file to find out what causes the problem.

Drew
  • 77,472
  • 10
  • 114
  • 243
  • Ok,then if it works on yours, it's a problem with my configuration or my Emacs. I'll test getting rid of everything but the essential for the visual search to work and see if it does. Thank you! – Fabman Jun 12 '15 at 20:20
2

Author of the package here. Hitting C-s and C-r should work. Just tested it with the python engine.

benma
  • 21
  • 1
  • It does work, the problem was that I mapped the C-s to your package, so when I pressed the second time the C-s it didn't cycle through the findings. – Fabman Jun 16 '15 at 11:15
  • 1
    Also, thank you for that awesome work you did, I really appreciate the tool. – Fabman Jun 16 '15 at 11:18