Using either ag or rg on dos line-encoded files shows ^M characters at the buffer #1384
Comments
See |
Customization of the variable like below works for both unix and dos line endings for me: (setq counsel-async-split-string-re "\r?\n") Thanks. |
whatacold
added a commit
to whatacold/swiper
that referenced
this issue
Oct 9, 2018
(counsel-grep-like-occur, counsel-git-grep-occur): Respect user setting of `counsel-async-split-string-re' when doing grep-like occur, so as to better support `wgrep'. Fixes abo-abo#1384
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using either
counsel-ag
orcounsel-rg
to search something in a DOS line-encoded project,^M
characters appear in the buffer. When I pressC-c C-o
these characters also appear in theivy-occur
buffer. wgrep does not work as a result. Emacsgrep
command does not display the^M
characters.The text was updated successfully, but these errors were encountered: