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

counsel-occur broken with "ag --vimgrep " #1800

zilongshanren opened this issue Nov 9, 2018 · 0 comments

counsel-occur broken with "ag --vimgrep " #1800

zilongshanren opened this issue Nov 9, 2018 · 0 comments


Copy link

@zilongshanren zilongshanren commented Nov 9, 2018

The ag --vimgrep command will produce extra column in the filename line which break the wgrep edit command.

-*- mode:grep; default-directory: "d:/HLMJ_H5_proj/branches/HLMJ_MINA/HLMJ_creator_mina/assets/scripts/" -*-

1 candidates:
./Game/View/TableHandler/UserHandler.js:857:14:        this.CheckMJCountCorrect();

If I remove --vimgrep, the changes could be applied successfully.

I don't know whether it should be fixed in wgrep-emacs or not. I have opened an issue here

PS. on Windows, if I remove the --vimgrep optioin, there is no preview in counsel-ag buffer.

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

Successfully merging a pull request may close this issue.

None yet
1 participant