emacs-devel
[Top][All Lists]
Advanced

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

Re: Long line JSON


From: Eli Zaretskii
Subject: Re: Long line JSON
Date: Tue, 18 May 2021 15:08:08 +0300

> From: Anand Tamariya <atamariya@gmail.com>
> Date: Tue, 18 May 2021 15:16:14 +0530
> 
> Here's a patch which allows me to use Emacs even for large single line JSON 
> file without slowing it down.
> The idea is to limit Emacs search for new line to MAX_NEWLINE_DISTANCE. With 
> fundamental mode and
> word-wrap on, I'm able to browse the file via page scroll, beginning/ end of 
> line, beginning/ end of buffer and
> parenthesis matching. Only the up-down cursor movement is jarring. 
> 
> Warning: It might or might not work for other scenarios.

Thanks, but this cannot be used in Emacs as-is, as it unconditionally
removes or disables code that is important in some situations.



reply via email to

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