Subject: bug#39658: 26.3; can't edit file with terminal escape sequences

From: Mattias Engdegård <[email-masked]>
Date: Thu, 20 Feb 2020 14:36:17 +0100

19 feb. 2020 kl. 18.47 skrev Eli Zaretskii <[email-masked]>:

> Ah, yes.  Set bidi-inhibit-bpa non-nil, and Bob's your uncle.

Fine, so how do we proceed from here? I presume that the bug triggers when the bidi cache limit of 50000 elements is reached (or maybe MAX_BPA_STACK). Turn off BPA temporarily, for the current line or paragraph, when this occurs? Or for the entire buffer, on the grounds that it's hardly right-to-left text anyway?