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

From: Eli Zaretskii <[email-masked]>
Date: Wed, 02 Dec 2020 12:28:17 +0200

On December 2, 2020 11:35:38 AM GMT+02:00, Juri Linkov <[email-masked]> wrote:
>
> Or maybe the problem is caused by special characters
> used in minified web assets that contain many '{' chars.
> And indeed, after inserting 100 thousands of '{'
> 
> (insert (propertize (make-string 100000 ?{)
>          'display "[…]" 'invisible t) "\n")
> 
> and saving to a file, later visiting such file
> Emacs becomes unresponsive for indefinite time.
> But visiting the file with 100 thousands '{'
> with find-file-literally causes no such problem.

Does it help to set bidi-inhibit-bpa non-nil?