Subject: bug#44983: Truncate long lines of grep output

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 30 Apr 2022 11:40:38 +0200

Dmitry Gutov <[email-masked]> writes:

> FWIW, this is more or less solved for Xref output buffers these
> days. And the solution is based on the 'invisible' property.

Skimming the code there, it seems like xref just gets a list that it
inserts into the buffer, and then applies the invisibility spec to the
long lines?  That's a bit different from what compilation-mode/grep is
doing, where a process inserts text.  I.e., invisible text, in general,
works fine, but there's some bad interaction between
processes/invisible/font-lock somewhere.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no