Skip to content

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

@zilongshanren

Description

@zilongshanren

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions