Don't include color codes in buffer
nriley opened this issue · 6 comments
nriley commented
When I try to copy filenames from the results buffer, the color codes are at least partially still there, so I end up with lines such as:
[0m
�[1;33m
Since (I think) these are all replaced by overlays, could the raw codes be removed?
nschum commented
You're right. I didn't think of that.
Unfortunately full-ack currently uses font-lock, so removing the codes requires somewhat of a rewrite...
nriley commented
Yeah, I eventually discovered that. Someday, I guess...
nschum commented
Well, apparently it wasn't that hard... Please check out https://github.com/nschum/full-ack/tree/experimental
Maybe it didn't break anything. ;)
nriley commented
nschum commented
OK. Please try again. :)
nriley commented
Much better, thanks!