help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs freezes when editing a file with one extremely long line even


From: Emanuel Berg
Subject: Re: Emacs freezes when editing a file with one extremely long line even with so-long-minor-mode enabled.
Date: Sat, 07 May 2022 16:46:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Daniel Fleischer wrote:

>> Don't have files "with one extremely long line".
>>
>> 1. It doesn't make sense.
>>
>> 2. Emacs freezes.
>
> One of the cases I deal with is editing JSON files.
> These usually don't have any styling information because
> they are text-base serialized objects and so no newlines and
> can range from a few bytes to hundreds of MB, all in
> a single line.

Not good.

> Sure I can open them and "beautify" them

Sure, but you shouldn't need to.

> but they are automatically generated

Nuclear missile 1: - Target area identified.

Nuclear missile 2: - Here is where we need to blow up.

Nuclear missile 3: - Auto-generated is all well and good but
tell the program that does it not to create a file like that.

Nuclear missiles 1 & 2: - ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]