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
Closed

Comments

@binshengliu
Copy link

@binshengliu binshengliu 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
Copy link
Author

@binshengliu binshengliu 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
Copy link
Owner

@abo-abo abo-abo commented Mar 6, 2018

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants