ag.el
ag.el copied to clipboard
incompatibility with xterm-color.el
On my machine, the output of ag --version is:
ag version 2.2.0
Features:
+jit +lzma +zlib
My Emacs version is: GNU Emacs 26.3
I'm using: macOS 10.15.4 with homebrew cask emacs.
I've recently begun using the xterm-color package which gives nice ANSI color support for compilation buffers/etc (beyond that of ansi-color.el). but I've found it breaks ag.el's output parsing.
Here is an issue I reported on their end: https://github.com/atomontage/xterm-color/issues/37
I don't know what a fix would entail or if you are interested in addressing this incompatibility from the ag.el end but I wanted to mention it just in case. It sounds like the basic problem is ag.el relying on color codes which are filtered out by xterm-color.el.