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

wgrep doesn't work in ivy-occur-grep-mode if the original line contains tabs #1468

Closed
binshengliu opened this issue Feb 20, 2018 · 2 comments

Comments

@binshengliu
Copy link

commented Feb 20, 2018

Sample file:

\tabc

Steps:

  1. Call swiper
  2. Type abc
  3. Call ivy-occur
  4. Call ivy-wgrep-change-to-wgrep-mode
  5. Make some modification to the line
  6. Call wgrep-finish-edit

Result:

The modification is not applied to the buffer.

I looked into the code and found in swiper--line, tabs are replaced with whitespaces. wgrep would complain "Buffer was changed after grep." in wgrep-apply-change.

I tried to remove the tab replacing code and wgrep works.

@binshengliu

This comment has been minimized.

Copy link
Author

commented Mar 6, 2018

Is this a problem, or do I miss something?

@abo-abo abo-abo closed this in b8e2e2a Mar 6, 2018

@abo-abo

This comment has been minimized.

Copy link
Owner

commented Mar 6, 2018

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.