GNU bug report logs -
#58981
treesitter-regression with json-mode
Previous Next
Reported by: Johann Höchtl <johann.hoechtl <at> gmail.com>
Date: Thu, 3 Nov 2022 06:48:04 UTC
Severity: normal
Tags: notabug
Fixed in version 29.1
Done: Robert Pluim <rpluim <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Sorry, disregard, behavior is caused by plugin highlight-indent-guides
Am Mi., 2. Nov. 2022 um 17:16 Uhr schrieb Johann Höchtl <
johann.hoechtl <at> gmail.com>:
> When I open a large json file (about 3_000_000 lines, about 72Mb,
> pretty-printed) Emacs 29.0.50 opens the file just fine in `js-json-mode`
> and when using regexp-based font locking, it works well.
>
> When I force this buffer into javascript-mode, Emacs hangs. Memory
> consumption as reported by Windows task manager "dances" around 2Gb, yet
> even after waiting for three minutes, Emacs doesn't get responsive any more.
>
> I consider this an unfortunately regression as recent commits to Emacs 29
> (long lines patches) actually makes working with such large files with long
> lines absolutely pleasant, yet as it seems the interaction with tree-sitter
> destroys this gains.
>
[Message part 2 (text/html, inline)]
This bug report was last modified 2 years and 260 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.