GNU bug report logs - #58981
treesitter-regression with json-mode

Previous Next

Package: emacs;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58981 in the body.
You can then email your comments to 58981 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#58981; Package emacs. (Thu, 03 Nov 2022 06:48:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Johann Höchtl <johann.hoechtl <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 03 Nov 2022 06:48:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Johann Höchtl <johann.hoechtl <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: treesitter-regression with json-mode
Date: Wed, 2 Nov 2022 17:48:24 +0100
[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)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58981; Package emacs. (Thu, 03 Nov 2022 10:51:02 GMT) Full text and rfc822 format available.

Message #8 received at 58981 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Johann Höchtl <johann.hoechtl <at> gmail.com>
Cc: 58981 <at> debbugs.gnu.org
Subject: Re: bug#58981: treesitter-regression with json-mode
Date: Thu, 03 Nov 2022 11:50:34 +0100
tags 58981 notabug
close 58981 29.1
quit

>>>>> On Wed, 2 Nov 2022 17:48:24 +0100, Johann Höchtl <johann.hoechtl <at> gmail.com> said:

    Johann> Sorry, disregard, behavior is caused by plugin highlight-indent-guides

Closing, thanks.

Robert




Added tag(s) notabug. Request was from Robert Pluim <rpluim <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 03 Nov 2022 10:51:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 29.1, send any further explanations to 58981 <at> debbugs.gnu.org and Johann Höchtl <johann.hoechtl <at> gmail.com> Request was from Robert Pluim <rpluim <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 03 Nov 2022 10:51:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 01 Dec 2022 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.