Wilfred / ag.el

An Emacs frontend to The Silver Searcher
http://agel.readthedocs.org/en/latest/
525 stars 61 forks source link

incompatibility with xterm-color.el #168

Open efroemling opened 4 years ago

efroemling commented 4 years ago

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.