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

swiper's ivy-occur does not goto occurrence when narrowing #2848

Open
snowman opened this issue Apr 15, 2021 · 0 comments
Open

swiper's ivy-occur does not goto occurrence when narrowing #2848

snowman opened this issue Apr 15, 2021 · 0 comments

Comments

@snowman
Copy link

snowman commented Apr 15, 2021

Steps to reproduce:

In terminal:

$ git clone https://github.com/abo-abo/swiper /tmp/swiper
$ cd /tmp/swiper
$ seq -w 1 100 > 100.txt
$ emacs -Q -nw      \
  -l ivy-faces.el   \
  -l ivy-overlay.el \
  -l colir.el       \
  -l ivy.el         \
  -l swiper.el      \
100.txt -eval "(narrow-to-region 97 200)"

This narrows the lines between 25 and 50.

In Emacs:

M-x swiper RET 5 C-c c-o
-*- mode:grep; default-directory: "/tmp/swiper/" -*-


4 candidates:
./100.txt:25:025
./100.txt:35:035█   <--- Move cursor here and press RET, it'll NOT jump to "035" line
./100.txt:45:045
./100.txt:50:050
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

1 participant