Subject: Re: bug#59038: loading this base64 file makes emacs -Q 28.2 peg a core infinitely

From: Eli Zaretskii <[email-masked]>
Date: Sat, 05 Nov 2022 08:52:55 +0200

> From: "Chris Hecker" <[email-masked]>
> Date: Sat, 05 Nov 2022 02:48:42 +0000
> 
> gunzip this file (it's a c header file base64 encoded from googlesource.com) to Looper.h and load it with 28.2
> emacs -Q and it'll infinite loop pegging one core.  
> 
> Expected behavior:  load the file, and let me base64-decode it.
> 
> It's a long line, but not _that_ long.

It's a single 21,728-character line.

With Emacs 29 (from the master branch of the Emacs Git repository), I
have no trouble visiting the file.  It triggers the new long-line
optimizations feature.

So I think the problem you have is already fixed for the upcoming
Emacs 29.